rpms/bind/F-9 bind.spec,1.265,1.266

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Fri Jul 18 21:34:17 UTC 2008


Author: ausil

Update of /cvs/pkgs/rpms/bind/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26789

Modified Files:
	bind.spec 
Log Message:
use -fPIE for sparc arches

add sparc64 to list of 64 bit arches



Index: bind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bind/F-9/bind.spec,v
retrieving revision 1.265
retrieving revision 1.266
diff -u -r1.265 -r1.266
--- bind.spec	8 Jul 2008 22:23:45 -0000	1.265
+++ bind.spec	18 Jul 2008 21:33:29 -0000	1.266
@@ -18,7 +18,7 @@
 Name: 		bind
 License: 	ISC
 Version: 	9.5.0
-Release: 	33.%{PATCHVER}%{?dist}
+Release: 	34.%{PATCHVER}%{?dist}
 Epoch:   	32
 Url: 		http://www.isc.org/products/BIND/
 Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -241,6 +241,12 @@
 %patch91 -p1 -b .recv-race
 %patch92 -p1 -b .edns
 %patch93 -p1 -b .rh450995
+# Sparc and s390 arches need to use -fPIE                                                           
+%ifarch sparcv9 sparc64 s390 s390x
+for i in bin/named-sdb/unix/Makefile.in bin/named-sdb/Makefile.in bin/named/unix/Makefile.in bin/named/Makefile.in; do
+       sed -i 's|fpie|fPIE|g' $i
+done
+%endif
 :;
 
 
@@ -252,7 +258,7 @@
 libtoolize -c -f; aclocal --force; autoheader -f; autoconf -f
 
 %if %{WITH_DBUS}
-%ifarch s390x x86_64 ppc64
+%ifarch s390x x86_64 ppc64 sparc64
 # every 64-bit arch EXCEPT ia64 has dbus architecture dependant
 # includes in  /usr/lib64/dbus-1.0/include
 export DBUS_ARCHDEP_LIBDIR=lib64
@@ -286,7 +292,8 @@
 %endif
 ;
 if [ -s openssl_config.h ]; then cat openssl_config.h >> config.h ; fi;
-make %{?_smp_mflags}
+make -j8
+#%{?_smp_mflags}
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
@@ -646,6 +653,10 @@
 %{_sbindir}/bind-chroot-admin
 
 %changelog
+* Fri Jul 18 2008 Dennis Gilmore <dennis at ausil.us> 32:9.5.0-34.P1
+- use fPIE on sparcv9/sparc64
+- add sparc64 to list of 64bit arches in spec
+
 * Tue Jul 08 2008 Adam Tkac <atkac redhat com> 32:9.5.0-33.P1
 - 9.5.0-P1 release (CVE-2008-1447)
 - fixed typo in bind-sdb summary (#454436)




More information about the fedora-extras-commits mailing list