From af4610e533760010e31747fea2580db106e31c4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Sun, 31 Jan 2016 06:51:45 +0100
Subject: Modernize spec.

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

diff --git a/perl-gettext.spec b/perl-gettext.spec
index 07a9cbb..1baf28a 100644
--- a/perl-gettext.spec
+++ b/perl-gettext.spec
@@ -3,7 +3,7 @@
 
 Name:           perl-gettext
 Version:        1.07
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Interface to gettext family of functions
 
 Group:          Development/Libraries
@@ -49,14 +49,12 @@ internationalize software.
 %setup -q -n %{tarname}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 
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 ';'
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 
@@ -72,6 +70,9 @@ make test
 
 
 %changelog
+* Sun Jan 31 2016 Ralf Corsépius <corse...@fedoraproject.org> - 1.07-2
+- Modernize spec.
+
 * Thu Nov 26 2015 Ralf Corsépius <corse...@fedoraproject.org> - 1.07-1
 - Upstream update.
 - Reflect upstream having changed tarball name to Locale-gettext.
-- 
cgit v0.11.2


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