[perl-IPTables-Parse/el5/master] Re-add BuildRoot for EL5
tremble
tremble at fedoraproject.org
Mon Oct 11 19:23:46 UTC 2010
commit 0d246403f911c91143089938ba19db1fb02349a2
Author: Mark Chappell <tremble at fedoraproject.org>
Date: Mon Oct 11 21:23:42 2010 +0200
Re-add BuildRoot for EL5
perl-IPTables-Parse.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/perl-IPTables-Parse.spec b/perl-IPTables-Parse.spec
index 411fcb3..c44a4ba 100644
--- a/perl-IPTables-Parse.spec
+++ b/perl-IPTables-Parse.spec
@@ -9,6 +9,7 @@ Source0: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.
Source1: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2.asc
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -27,6 +28,7 @@ rules exist.
make %{?_smp_mflags}
%install
+rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
More information about the perl-devel
mailing list