|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Time-Duration-Parse
|
|
|
|
|
Version: 0.15
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 0.16
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# see lib/Time/Duration/Parse.pm
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Summary: Parse string that represents time duration
|
|
|
|
@ -9,13 +9,12 @@ Url: https://metacpan.org/release/Time-Duration-Parse
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: %{__perl}
|
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter::Lite)
|
|
|
|
|
BuildRequires: perl(Exporter) >= 5.57
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
@ -33,11 +32,11 @@ duration_exact() in Time::Duration and is roundtrip safe.
|
|
|
|
|
%setup -q -n Time-Duration-Parse-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
%{make_install} DESTDIR="%{buildroot}"
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -50,6 +49,10 @@ make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 21 2021 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.16-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Modernize spec.
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-8
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|