commit bde707e49f52c0cd7ff247ddfa0638ea71661ea6 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Nov 14 15:38:00 2014 +0100 0.16010 bump .gitignore | 1 + perl-DateTime-Format-Pg.spec | 55 +++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 28 insertions(+), 30 deletions(-) --- diff --git a/.gitignore b/.gitignore index 70e5db1..cc7ea02 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ DateTime-Format-Pg-0.16004.tar.gz /DateTime-Format-Pg-0.16005.tar.gz /DateTime-Format-Pg-0.16007.tar.gz /DateTime-Format-Pg-0.16008.tar.gz +/DateTime-Format-Pg-0.16010.tar.gz diff --git a/perl-DateTime-Format-Pg.spec b/perl-DateTime-Format-Pg.spec index 8e0049b..20cc1f6 100644 --- a/perl-DateTime-Format-Pg.spec +++ b/perl-DateTime-Format-Pg.spec @@ -1,5 +1,5 @@ Name: perl-DateTime-Format-Pg -Version: 0.16008 +Version: 0.16010 Release: 6%{?dist} Summary: Parse and format PostgreSQL dates and times License: GPL+ or Artistic @@ -7,25 +7,31 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-Pg/ Source0: http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/DateTime-Format-Pg-%{version}.tar.gz BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -BuildRequires: perl(inc::Module::Install) -BuildRequires: perl(Module::Install::Repository) -# run-time +# Build +BuildRequires: perl +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta::Prereqs) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(Carp) -BuildRequires: perl(DateTime) >= 0.10 +BuildRequires: perl(DateTime) >= 0.13 BuildRequires: perl(DateTime::Duration) BuildRequires: perl(DateTime::Format::Builder) >= 0.72 -BuildRequires: perl(DateTime::TimeZone) >= 0.05 -BuildRequires: perl(DateTime::TimeZone::UTC) +BuildRequires: perl(DateTime::TimeZone) >= 0.12 BuildRequires: perl(DateTime::TimeZone::Floating) -# tests +BuildRequires: perl(DateTime::TimeZone::UTC) +BuildRequires: perl(vars) +# Tests only BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test::More) -# optional tests BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) - +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description This module understands the formats used by PostgreSQL for its DATE, TIME, @@ -37,35 +43,26 @@ it in a format accepted by PostgreSQL. %prep %setup -q -n DateTime-Format-Pg-%{version} -# Unbundle modules -rm -rf inc -sed -i -e '/^inc\//d' MANIFEST - -cat README | iconv -f iso8859-1 -t utf8 > foo ; mv foo README - -perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} - -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - +./Build install destdir=%{buildroot} create_packlist=0 %{_fixperms} %{buildroot}/* %check -make test +./Build test %files -%doc Changes LICENSE t/ +%doc Changes LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Fri Nov 14 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.16010-6 +- 0.16010 bump + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.16008-6 - Perl 5.20 rebuild diff --git a/sources b/sources index 9768cdc..1022e52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1a10b6eb5573a666b1061991cfa28f58 DateTime-Format-Pg-0.16008.tar.gz +776d8f64f48e2bebe34f80383a032ede DateTime-Format-Pg-0.16010.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel