|
|
@ -1,15 +1,17 @@
|
|
|
|
Name: perl-Time-Duration-Parse
|
|
|
|
Name: perl-Time-Duration-Parse
|
|
|
|
Version: 0.13
|
|
|
|
Version: 0.14
|
|
|
|
Release: 9%{?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
|
|
|
|
|
|
|
|
Summary: Parse string that represents time duration
|
|
|
|
Summary: Parse string that represents time duration
|
|
|
|
Source: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Time-Duration-Parse-%{version}.tar.gz
|
|
|
|
Source: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Time-Duration-Parse-%{version}.tar.gz
|
|
|
|
Url: https://metacpan.org/release/Time-Duration-Parse
|
|
|
|
Url: https://metacpan.org/release/Time-Duration-Parse
|
|
|
|
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}
|
|
|
|
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter::Lite)
|
|
|
|
BuildRequires: perl(Exporter::Lite)
|
|
|
@ -31,14 +33,14 @@ duration_exact() in Time::Duration and is roundtrip safe.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README
|
|
|
@ -47,6 +49,10 @@ make test
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jul 11 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.14-1
|
|
|
|
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
- Spec cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-9
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-9
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|