mdomsch pushed to libspf2 (el5). "add back in RHEL5-specific spec needs"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 20:26:00 UTC 2015


>From ae5406a9e38b3337461ba6bd314a4ef7e19f26b3 Mon Sep 17 00:00:00 2001
From: Matt Domsch <matt at domsch.com>
Date: Mon, 13 Apr 2015 15:25:07 -0500
Subject: add back in RHEL5-specific spec needs


diff --git a/libspf2.spec b/libspf2.spec
index 07d14cc..1cf1055 100644
--- a/libspf2.spec
+++ b/libspf2.spec
@@ -63,6 +63,7 @@ BuildRequires:	perl(Test::Pod), perl(String::Escape)
 BuildConflicts:	perl(Test::Pod::Coverage)
 # Perl module fails the standard test suite
 BuildConflicts:	perl(Mail::SPF::Test)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 %description
 libspf2 is an implementation of the SPF (Sender Policy Framework)
@@ -175,6 +176,7 @@ export ac_cv_func___ns_get16
 %endif
 
 %install
+{__rm} -rf %{buildroot}
 %{__make} \
 	DESTDIR=%{buildroot} \
 	PERL_INSTALL_ROOT=$(%{__grep} DESTDIR perl/Makefile &> /dev/null && echo "" || echo %{buildroot}) \
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libspf2.git/commit/?h=el5&id=ae5406a9e38b3337461ba6bd314a4ef7e19f26b3


More information about the scm-commits mailing list