[perl-Module-Path/f20] Make the SPEC compatible with F20

Petr Šabata psabata at fedoraproject.org
Wed Jan 7 10:01:12 UTC 2015


commit 325417acdb496776acd28b59d20a498f508f26fb
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Jan 7 11:01:25 2015 +0100

    Make the SPEC compatible with F20

 perl-Module-Path.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/perl-Module-Path.spec b/perl-Module-Path.spec
index b1f5a36..e3d244f 100644
--- a/perl-Module-Path.spec
+++ b/perl-Module-Path.spec
@@ -8,7 +8,7 @@ URL:            http://search.cpan.org/dist/Module-Path/
 Source0:        http://www.cpan.org/authors/id/N/NE/NEILB/Module-Path-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 # Run-time:
@@ -35,19 +35,19 @@ any symbolic links.
 sed -i -e '1s|^#!.*|#!%{__perl}|' bin/mpath
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%license LICENSE
-%doc Changes README
+%doc Changes README LICENSE
 %{_bindir}/*
 %{perl_vendorlib}/*
 %{_mandir}/man1/*



More information about the perl-devel mailing list