From 93326fc205f6448c248c0471a2927ec68e3afe67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Sat, 30 Jan 2016 05:04:05 +0100
Subject: Modernize spec.

---
 perl-Regexp-Common.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/perl-Regexp-Common.spec b/perl-Regexp-Common.spec
index 0b9bc82..a5bbd5a 100644
--- a/perl-Regexp-Common.spec
+++ b/perl-Regexp-Common.spec
@@ -1,6 +1,6 @@
 Name:          perl-Regexp-Common
 Version:       2016010801
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Regexp::Common Perl module
 # Old Artistic 1.0 is also valid, but we won't list it here since it is 
non-free.
 # Also, it would throw off the automated license check and flag this package.
@@ -34,12 +34,11 @@ Regexp::Common - Provide commonly requested regular 
expressions
 %setup -q -n Regexp-Common-%{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 {} ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
@@ -51,6 +50,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 30 2016 Ralf Corsépius <corse...@fedoraproject.org> - 2016010801-2
+- Modernize spec.
+
 * Thu Jan 14 2016 Ralf Corsépius <corse...@fedoraproject.org> - 2016010801-1
 - Upstream update.
 - Expand BR:s.
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Regexp-Common.git/commit/?h=f23&id=93326fc205f6448c248c0471a2927ec68e3afe67
--
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