From 747b6a63dfb0106c98764e58badd29f4628626ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Sun, 31 Jan 2016 06:56:19 +0100 Subject: [PATCH] Modernize spec. --- perl-File-Find-Rule-Perl.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/perl-File-Find-Rule-Perl.spec b/perl-File-Find-Rule-Perl.spec index 5fa0d26..06896f7 100644 --- a/perl-File-Find-Rule-Perl.spec +++ b/perl-File-Find-Rule-Perl.spec @@ -1,6 +1,6 @@ Name: perl-File-Find-Rule-Perl Version: 1.15 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Common rules for searching for Perl things License: GPL+ or Artistic Group: Development/Libraries @@ -8,7 +8,7 @@ URL: http://search.cpan.org/dist/File-Find-Rule-Perl/ Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz # Filter out the files rpm generates in sourcedir. Patch0: File-Find-Rule-Perl-1.15-fedora.patch -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(constant) BuildRequires: perl(lib) @@ -30,13 +30,11 @@ Common rules for searching for Perl things. %patch0 -p1 %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 {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check @@ -48,6 +46,9 @@ make test %{_mandir}/man3/* %changelog +* Sun Jan 31 2016 Ralf Corsépius - 1.15-4 +- Modernize spec. + * Thu Jun 18 2015 Fedora Release Engineering - 1.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild