From 5fa85ff3c11131d713fab3cc6eeb08476e453f8e Mon Sep 17 00:00:00 2001 From: Ralf Corsépius Date: Jan 30 2016 03:05:34 +0000 Subject: Modernize spec. --- 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 - 0.09-14 +- Modernize spec. + * Thu Jun 18 2015 Fedora Release Engineering - 0.09-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild