psabata pushed to perl-File-RsyncP (epel7). "Make the SPEC compatible with EPEL."
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu May 28 15:32:26 UTC 2015
From 651705d3b41eb09909ca115a91f3b3d3173e219e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Thu, 28 May 2015 17:30:52 +0200
Subject: Make the SPEC compatible with EPEL.
diff --git a/perl-File-RsyncP.spec b/perl-File-RsyncP.spec
index 520d2ab..c442db7 100644
--- a/perl-File-RsyncP.spec
+++ b/perl-File-RsyncP.spec
@@ -9,7 +9,7 @@ URL: http://search.cpan.org/dist/File-RsyncP/
Source0: http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/File-RsyncP-%{version}.tar.gz
# Build
BuildRequires: perl
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(ExtUtils::MakeMaker)
# Runtime
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Config)
@@ -40,11 +40,12 @@ daemon on the remote machine.
cp /usr/lib/rpm/config.* FileList/
%build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_flags}
%install
make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
chmod -R u+w %{buildroot}/*
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-File-RsyncP.git/commit/?h=epel7&id=651705d3b41eb09909ca115a91f3b3d3173e219e
More information about the perl-devel
mailing list