psabata pushed to perl-List-Compare (epel7). "Make the package compatible with EPEL (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 29 08:42:45 UTC 2015


>From 8fb81335cae7e28687b0168fe88b9600dcf33da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Wed, 29 Apr 2015 10:39:58 +0200
Subject: Make the package compatible with EPEL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Petr Ĺ abata <contyk at redhat.com>

diff --git a/perl-List-Compare.spec b/perl-List-Compare.spec
index ef60032..120c707 100644
--- a/perl-List-Compare.spec
+++ b/perl-List-Compare.spec
@@ -9,7 +9,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/List-Compare-%{vers
 BuildArch:      noarch
 # Build
 BuildRequires:  perl
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Runtime
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(strict)
@@ -30,11 +30,12 @@ Advanced functionality to compare members of two or more lists.
 %setup -q -n List-Compare-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 chmod -R u+w %{buildroot}/*
 
 %check
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-List-Compare.git/commit/?h=epel7&id=8fb81335cae7e28687b0168fe88b9600dcf33da1


More information about the perl-devel mailing list