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

---
 perl-Text-Glob.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/perl-Text-Glob.spec b/perl-Text-Glob.spec
index 8329124..14c582b 100644
--- a/perl-Text-Glob.spec
+++ b/perl-Text-Glob.spec
@@ -1,6 +1,6 @@
 Name:          perl-Text-Glob
 Version:       0.09
-Release:       13%{?dist}
+Release:       14%{?dist}
 Summary:       Perl module to match globbing patterns against text
 License:       GPL+ or Artistic
 Group:                 Development/Libraries
@@ -12,7 +12,7 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Test::More)
-Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 Text::Glob implements glob(3) style matching that can be used to match
@@ -23,13 +23,11 @@ want to do full file globbing use the File::Glob module 
instead.
 %setup -q -n Text-Glob-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$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
@@ -41,6 +39,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 30 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.09-14
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.09-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


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