[gfal] fix includearch ppc

Karsten Hopp karsten at fedoraproject.org
Mon Jun 25 15:39:05 UTC 2012


commit 06daf60e601557261cdf910cecbd1a875d3a212a
Author: Karsten Hopp <karsten at redhat.com>
Date:   Mon Jun 25 17:38:54 2012 +0200

    fix includearch ppc

 gfal.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gfal.spec b/gfal.spec
index 1b2cfd1..028d516 100644
--- a/gfal.spec
+++ b/gfal.spec
@@ -20,7 +20,7 @@
 
 Name:						gfal
 Version:					1.12.1
-Release:					2%{?dist}
+Release:					3%{?dist}
 Summary:					Grid File access library
 Group:						System Environment/Libraries
 License:					ASL 2.0
@@ -30,7 +30,7 @@ Source0:					http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/
 BuildRoot:					%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 #Exclude ppc architecture on epel5, impossible to compile properly with the old gcc version
 
-%if 0%{?rhel} < 6
+%if %{defined rhel} && 0%{?rhel} < 6
 ExcludeArch:				ppc
 %endif
 
@@ -227,6 +227,9 @@ make %{?_smp_mflags} clean
 %{_docdir}/%{name}-%{version}/LICENSE
 
 %changelog
+* Mon Jun 25 2012 Karsten Hopp <karsten at redhat.com> 1.12.1-3
+- fix includearch ppc
+
 * Mon Jun 25 2012 Karsten Hopp <karsten at redhat.com> 1.12.1-2
 - includearch ppc on dists > rhel6 and all fedora as this is a
   build requirement for the root package


More information about the scm-commits mailing list