Upstream update.

- Modernize spec.
- Reflect upstream Source0: having changed.
epel9
Ralf Corsépius 11 years ago
parent 85a8108b69
commit 805f425df4

2
.gitignore vendored

@ -1 +1 @@
Time-Duration-Parse-0.06.tar.gz
/Time-Duration-Parse-0.10.tar.gz

@ -1,19 +1,21 @@
Name: perl-Time-Duration-Parse
Version: 0.06
Release: 13%{?dist}
Version: 0.10
Release: 1%{?dist}
# see lib/Time/Duration/Parse.pm
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
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)
@ -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 <corsepiu@fedoraproject.org> - 0.10-1
- Upstream update.
- Modernize spec.
- Reflect upstream Source0: having changed.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

@ -1 +1 @@
a23b7ca50a909df57e484cf39a3fa414 Time-Duration-Parse-0.06.tar.gz
6471c691f334df0ef7b5cb2866e20cd6 Time-Duration-Parse-0.10.tar.gz

Loading…
Cancel
Save