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

---
 perl-Regexp-Common-net-CIDR.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/perl-Regexp-Common-net-CIDR.spec b/perl-Regexp-Common-net-CIDR.spec
index af059d2..32cb83d 100644
--- a/perl-Regexp-Common-net-CIDR.spec
+++ b/perl-Regexp-Common-net-CIDR.spec
@@ -1,6 +1,6 @@
 Name:           perl-Regexp-Common-net-CIDR
 Version:        0.03
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Provide patterns for CIDR blocks
 License:        GPLv2
 
@@ -34,15 +34,11 @@ done
 %build
 # --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
 # missing modules
-%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps 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 -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -54,6 +50,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 30 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.03-2
+- Modernize spec.
+
 * Tue Jun 30 2015 Ralf Corsépius <corse...@fedoraproject.org> - 0.03-1
 - Upstream update.
 - Remove bundled modules.
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Regexp-Common-net-CIDR.git/commit/?h=master&id=c2b1b52348d86cf29c257abcd6042841c84c1954
--
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