Upstream update.

Modernize spec.
epel9
Ralf Corsépius 4 years ago committed by Emmanuel Seyman
parent 57b1d82913
commit 5d7285b0e1

2
.gitignore vendored

@ -1 +1 @@
/Time-Duration-Parse-0.15.tar.gz
/Time-Duration-Parse-0.16.tar.gz

@ -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

@ -1 +1 @@
SHA512 (Time-Duration-Parse-0.15.tar.gz) = 1cd4b303cedc58d8513165297369b3705c2fe07db9b626c922829a8a86586bbdf631cd06052924dfaa030a5179e121bbb9c0d8b7159d54e137cb9e70f3086e20
SHA512 (Time-Duration-Parse-0.16.tar.gz) = 947c7ce0a1a013c86b3c9e464e4c56bb0cc98572c3854d9b6ab33e8dac2270982b72efcd5e2601490e5a23104543ac343033f06294eb88282d0473378117faed

Loading…
Cancel
Save