|
|
@ -1,19 +1,21 @@
|
|
|
|
Name: perl-Time-Duration-Parse
|
|
|
|
Name: perl-Time-Duration-Parse
|
|
|
|
Version: 0.06
|
|
|
|
Version: 0.10
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
# see lib/Time/Duration/Parse.pm
|
|
|
|
# see lib/Time/Duration/Parse.pm
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Parse string that represents time duration
|
|
|
|
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
|
|
|
|
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))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter::Lite)
|
|
|
|
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
|
|
|
|
# optional tests
|
|
|
|
BuildRequires: perl(Time::Duration)
|
|
|
|
BuildRequires: perl(Time::Duration)
|
|
|
|
|
|
|
|
|
|
|
@ -33,27 +35,25 @@ safe. So, the following is always true.
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%doc Changes
|
|
|
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* 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
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|