From c5ad27fa2e213e47d9cb403dc4c63b77efd61ac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Wed, 27 Jan 2016 13:51:15 +0100
Subject: 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 <corse...@fedoraproject.org> - 0.13-2
+- Add %%license.
+- Modernize spec.
+
 * Mon Nov 02 2015 Ralf Corsépius <corse...@fedoraproject.org> - 0.13-1
 - Upstream update.
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Time-Duration-Parse.git/commit/?h=master&id=c5ad27fa2e213e47d9cb403dc4c63b77efd61ac6
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to