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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 325417acdb496776acd28b59d20a498f508f26fb
Author: Petr Šabata <contyk@xxxxxxxxxx>
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/*
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux