From c58043807576f42a0dda1ddb97883e2516b9e947 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Wed, 20 Apr 2016 12:06:23 +0100
Subject: Don't assume that EU::MM will generate Pod::README manpage

Also, simplify find command using -delete
---
 perl-Pod-Readme.spec | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/perl-Pod-Readme.spec b/perl-Pod-Readme.spec
index b76c0a4..2de9bc5 100644
--- a/perl-Pod-Readme.spec
+++ b/perl-Pod-Readme.spec
@@ -1,6 +1,6 @@
 Name:           perl-Pod-Readme
 Version:        1.1.2
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Intelligently generate a README file from POD
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Pod-Readme/
@@ -82,12 +82,11 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
-# Remove spurious Pod::README files. They are the same as Pod::Readme.
-# Different EU::MM versions mishandle them in different way.
-rm %{buildroot}%{_mandir}/man3/Pod::README.3*
-rm %{buildroot}%{perl_vendorlib}/Pod/README.pod
+
+# Remove spurious Pod::README files, which are the same as Pod::Readme
+rm -vf %{buildroot}%{_mandir}/man3/Pod::README.3*
 
 %check
 make test
@@ -106,6 +105,10 @@ make test
 %{_mandir}/man3/Pod::Readme::Types.3*
 
 %changelog
+* Wed Apr 20 2016 Paul Howarth <[email protected]> - 1.1.2-7
+- Don't assume that EU::MM will generate Pod::README manpage
+- Simplify find command using -delete
+
 * Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 
1.1.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Pod-Readme.git/commit/?h=master&id=c58043807576f42a0dda1ddb97883e2516b9e947
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to