commit 0d246403f911c91143089938ba19db1fb02349a2
Author: Mark Chappell <trem...@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 {} \;
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to