commit 552ad5da788c9c4e27f170d8eef10a5ba9a022cc Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Nov 14 15:21:59 2014 +0100 1.02 bump .gitignore | 1 + perl-DateTime-Format-Natural.spec | 39 +++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 25 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index 813c4b0..aece289 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ DateTime-Format-Natural-0.89.tar.gz /DateTime-Format-Natural-0.99.tar.gz /DateTime-Format-Natural-1.00.tar.gz /DateTime-Format-Natural-1.01.tar.gz +/DateTime-Format-Natural-1.02.tar.gz diff --git a/perl-DateTime-Format-Natural.spec b/perl-DateTime-Format-Natural.spec index d7ebdc2..fe3f27d 100644 --- a/perl-DateTime-Format-Natural.spec +++ b/perl-DateTime-Format-Natural.spec @@ -1,35 +1,40 @@ Name: perl-DateTime-Format-Natural -Version: 1.01 -Release: 6%{?dist} +Version: 1.02 +Release: 1%{?dist} Summary: Create machine readable date/time with natural parsing logic License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-Natural/ Source0: http://www.cpan.org/authors/id/S/SC/SCHUBIGER/DateTime-Format-Natural-%{version}.tar.gz BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(base) BuildRequires: perl(boolean) BuildRequires: perl(Carp) -BuildRequires: perl(Class::ISA) BuildRequires: perl(Clone) -BuildRequires: perl(Cwd) -BuildRequires: perl(DateTime) -BuildRequires: perl(Date::Calc) +BuildRequires: perl(constant) BuildRequires: perl(DateTime) +BuildRequires: perl(DateTime::TimeZone) BuildRequires: perl(Exporter) BuildRequires: perl(File::Find) -BuildRequires: perl(File::Spec) -BuildRequires: perl(FindBin) -BuildRequires: perl(Getopt::Long) +BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(List::MoreUtils) -BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Util) BuildRequires: perl(Params::Validate) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Storable) -BuildRequires: perl(Term::ReadLine) +# Tests only +BuildRequires: perl(Cwd) +BuildRequires: perl(Date::Calc) +BuildRequires: perl(FindBin) BuildRequires: perl(Test::MockTime) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %{?perl_default_filter} @@ -51,13 +56,12 @@ for f in Changes README; do done %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 - -%{_fixperms} $RPM_BUILD_ROOT/* +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* %check ./Build test @@ -77,6 +81,9 @@ done %changelog +* Fri Nov 14 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.02-1 +- 1.02 bump + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.01-6 - Perl 5.20 rebuild diff --git a/sources b/sources index 7227db5..021e7ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2c7e35c87c41c4f3ba1ef3826bde368f DateTime-Format-Natural-1.01.tar.gz +258203626de566250ef245b2b680cacc DateTime-Format-Natural-1.02.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