From 6e7db4fd0fc7070584f713fe1a42c2b2095cc697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Wed, 27 Jan 2016 13:51:15 +0100 Subject: [PATCH] Add %license. - Modernize spec. --- perl-Time-Duration-Parse.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/perl-Time-Duration-Parse.spec b/perl-Time-Duration-Parse.spec index 8cfce7d..a4331a5 100644 --- a/perl-Time-Duration-Parse.spec +++ b/perl-Time-Duration-Parse.spec @@ -29,24 +29,27 @@ duration_exact() in Time::Duration and is roundtrip safe. %setup -q -n Time-Duration-Parse-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' - %{_fixperms} %{buildroot}/* %check make test %files -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Wed Jan 27 2016 Ralf Corsépius - 0.13-2 +- Add %%license. +- Modernize spec. + * Mon Nov 02 2015 Ralf Corsépius - 0.13-1 - Upstream update.