From f2df52bc0ca917d73eccd3bbd181c3e6c651a56f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Wed, 27 Jan 2016 15:56:52 +0100
Subject: Add %license.

- Modernize spec.
---
 perl-Pod-Tests.spec | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/perl-Pod-Tests.spec b/perl-Pod-Tests.spec
index ac547de..dd70b87 100644
--- a/perl-Pod-Tests.spec
+++ b/perl-Pod-Tests.spec
@@ -1,6 +1,6 @@
 Name:          perl-Pod-Tests
 Version:       1.19
-Release:       19%{?dist}
+Release:       20%{?dist}
 Summary:       Extract embedded tests and code examples from POD
 License:       GPL+ or Artistic
 Group:                 Development/Libraries
@@ -32,25 +32,29 @@ pod2test convert embedded tests and code examples to .t 
files.
 %setup -q -n Pod-Tests-%{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=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test AUTOMATED_TESTING=1
 
 %files
-%doc Changes LICENSE
+%doc Changes
+%license LICENSE
 %{_bindir}/*
 %{perl_vendorlib}/Pod
 %{_mandir}/man1/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.19-20
+- Add %%license.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 1.19-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Pod-Tests.git/commit/?h=master&id=f2df52bc0ca917d73eccd3bbd181c3e6c651a56f
--
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