From e2a895332dbf91093c9174fd01736a1091126baf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <[email protected]>
Date: Sat, 30 Jan 2016 16:19:43 +0100
Subject: Modernize spec.

---
 perl-File-Find-Rule.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/perl-File-Find-Rule.spec b/perl-File-Find-Rule.spec
index c8e168d..4ce0e27 100644
--- a/perl-File-Find-Rule.spec
+++ b/perl-File-Find-Rule.spec
@@ -1,6 +1,6 @@
 Name:          perl-File-Find-Rule
 Version:       0.34
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Perl module implementing an alternative interface to File::Find
 License:       GPL+ or Artistic
 Group:                 Development/Libraries
@@ -26,13 +26,11 @@ you to build rules which specify the desired files and 
directories.
 %setup -q -n File-Find-Rule-%{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 {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
@@ -46,6 +44,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 30 2016 Ralf Corsépius <[email protected]> - 0.34-2
+- Modernize spec.
+
 * Tue Dec 08 2015 Ralf Corsépius <[email protected]> - 0.34-1
 - Update to 0.34.
 - Add more BRs.
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-File-Find-Rule.git/commit/?h=master&id=e2a895332dbf91093c9174fd01736a1091126baf
--
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