[perl-POE-Test-Loops/f20: 7/7] Old EU::MM doesn't support NO_PACKLIST

Petr Šabata psabata at fedoraproject.org
Wed Oct 8 16:03:46 UTC 2014


commit 7ec555f05767160ae418c4cf38228a1cf98bb835
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Oct 8 18:03:29 2014 +0200

    Old EU::MM doesn't support NO_PACKLIST

 perl-POE-Test-Loops.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/perl-POE-Test-Loops.spec b/perl-POE-Test-Loops.spec
index cf93cb0..dc24d7d 100644
--- a/perl-POE-Test-Loops.spec
+++ b/perl-POE-Test-Loops.spec
@@ -11,7 +11,7 @@ BuildRequires:  perl
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
 # Config is only needed for <perl-5.10
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Path)
 BuildRequires:  perl(File::Spec)
@@ -82,11 +82,12 @@ the POE::Test::Loops system in more detail.
 find . -type f -exec chmod -c -x {} ';'
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=true
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
 %check



More information about the perl-devel mailing list