From 805f425df4f44cfcbc76d7f963471eedb2e9d060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Tue, 25 Mar 2014 16:39:31 +0100 Subject: [PATCH] Upstream update. - Modernize spec. - Reflect upstream Source0: having changed. --- .gitignore | 2 +- perl-Time-Duration-Parse.spec | 36 +++++++++++++++++------------------ sources | 2 +- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index dbd2e56..0c1662e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Time-Duration-Parse-0.06.tar.gz +/Time-Duration-Parse-0.10.tar.gz diff --git a/perl-Time-Duration-Parse.spec b/perl-Time-Duration-Parse.spec index 52611d5..0221f3a 100644 --- a/perl-Time-Duration-Parse.spec +++ b/perl-Time-Duration-Parse.spec @@ -1,19 +1,21 @@ -Name: perl-Time-Duration-Parse -Version: 0.06 -Release: 13%{?dist} +Name: perl-Time-Duration-Parse +Version: 0.10 +Release: 1%{?dist} # see lib/Time/Duration/Parse.pm -License: GPL+ or Artistic +License: GPL+ or Artistic Group: Development/Libraries -Summary: Parse string that represents time duration -Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Time-Duration-Parse-%{version}.tar.gz +Summary: Parse string that represents time duration +Source: http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Time-Duration-Parse-%{version}.tar.gz Url: http://search.cpan.org/dist/Time-Duration-Parse -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Carp) BuildRequires: perl(Exporter::Lite) -BuildRequires: perl(Test::More) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # optional tests BuildRequires: perl(Time::Duration) @@ -22,7 +24,7 @@ BuildRequires: perl(Time::Duration) Time::Duration::Parse is a module to parse human readable duration strings like _2 minutes and 3 seconds_ to seconds. -It does the opposite of duration_exact() in Time::Duration and is roundtrip +It does the opposite of duration_exact() in Time::Duration and is roundtrip safe. So, the following is always true. %prep @@ -33,27 +35,25 @@ safe. So, the following is always true. make %{?_smp_mflags} %install -rm -rf %{buildroot} - 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 ';' %{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) -%doc Changes +%doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Tue Mar 25 2014 Ralf Corsépius - 0.10-1 +- Upstream update. +- Modernize spec. +- Reflect upstream Source0: having changed. + * Sun Aug 04 2013 Fedora Release Engineering - 0.06-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 5b1cd17..d2b3e06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a23b7ca50a909df57e484cf39a3fa414 Time-Duration-Parse-0.06.tar.gz +6471c691f334df0ef7b5cb2866e20cd6 Time-Duration-Parse-0.10.tar.gz