rpms/xulrunner/F-9 xulrunner.spec,1.127,1.128

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Mon Jun 30 16:58:14 UTC 2008


Author: ausil

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

Modified Files:
	xulrunner.spec 
Log Message:
handle sparc multilib



Index: xulrunner.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xulrunner/F-9/xulrunner.spec,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- xulrunner.spec	17 Jun 2008 16:15:18 -0000	1.127
+++ xulrunner.spec	30 Jun 2008 16:57:27 -0000	1.128
@@ -8,7 +8,7 @@
 Summary:        XUL Runtime for Gecko Applications
 Name:           xulrunner
 Version:        1.9
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 URL:            http://www.mozilla.org/projects/xulrunner/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -185,7 +185,7 @@
   $RPM_BUILD_ROOT/%{_includedir}/${INTERNAL_APP_SDK_NAME}
 
 # Fix multilib devel conflicts...
-%ifarch x86_64 ia64 s390x ppc64
+%ifarch x86_64 ia64 s390x ppc64 sparc64
 %define mozbits 64
 %else
 %define mozbits 32
@@ -196,7 +196,7 @@
 mv ${genheader}.h ${genheader}%{mozbits}.h
 cat > ${genheader}.h << EOF
 // This file exists to fix multilib conflicts
-#if defined(__x86_64__) || defined(__ia64__) || defined(__s390x__) || defined(__powerpc64__)
+#if defined(__x86_64__) || defined(__ia64__) || defined(__s390x__) || defined(__powerpc64__) ||defined(__sparc__) && defined(__arch64__)
 #include "${genheader}64.h"
 #else
 #include "${genheader}32.h"
@@ -254,7 +254,7 @@
 popd
 
 # GRE stuff
-%ifarch x86_64 ia64 ppc64 s390x
+%ifarch x86_64 ia64 ppc64 s390x sparc64
 %define gre_conf_file gre64.conf
 %else
 %define gre_conf_file gre.conf
@@ -266,7 +266,7 @@
 chmod 644 $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file}
 
 # Library path
-%ifarch x86_64 ia64 ppc64 s390x
+%ifarch x86_64 ia64 ppc64 s390x sparc64
 %define ld_conf_file xulrunner-64.conf
 %else
 %define ld_conf_file xulrunner-32.conf
@@ -377,6 +377,9 @@
 #---------------------------------------------------------------------
 
 %changelog
+* Mon Jun 30 2008 Dennis Gilmore <dennis at ausil.us> 1.9-1.1
+- handle sparc arches
+
 * Tue Jun 17 2008 Christopher Aillon <caillon at redhat.com> 1.9-1
 - Update to 1.9 final
 




More information about the fedora-extras-commits mailing list