rpms/xerces-c/F-13 xerces-c.spec,1.27,1.28

Kalev Lember kalev at fedoraproject.org
Fri May 14 13:49:07 UTC 2010


Author: kalev

Update of /cvs/pkgs/rpms/xerces-c/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8810

Modified Files:
	xerces-c.spec 
Log Message:
Disable explicit -msse2 to make sure the binaries run on non-SSE2 i686



Index: xerces-c.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xerces-c/F-13/xerces-c.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- xerces-c.spec	8 Feb 2010 16:31:05 -0000	1.27
+++ xerces-c.spec	14 May 2010 13:49:07 -0000	1.28
@@ -1,7 +1,7 @@
 Summary:	Validating XML Parser
 Name:		xerces-c
 Version:	3.0.1
-Release:	16%{?dist}
+Release:	17%{?dist}
 License:	ASL 2.0
 Group:		System Environment/Libraries
 URL:		http://xml.apache.org/xerces-c/
@@ -53,7 +53,12 @@ mkdir -p _docs
 cp -a samples/ _docs/
 
 %build
-%configure --disable-static --disable-pretty-make
+# --disable-sse2 makes sure explicit -msse2 isn't passed to gcc so
+# the binaries would be compatible with non-SSE2 i686 hardware.
+# This only affects i686, as on x86_64 the compiler uses SSE2 by default.
+%configure --disable-static \
+  --disable-pretty-make \
+  --disable-sse2
 make %{?_smp_mflags}
 
 %install
@@ -90,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc README LICENSE NOTICE CREDITS doc _docs/*
 
 %changelog
+* Fri May 14 2010 Kalev Lember <kalev at smartlink.ee> 3.0.1-17
+- Disable explicit -msse2 to make sure the binaries run on non-SSE2 i686
+
 * Sun Feb 07 2010 Kalev Lember <kalev at smartlink.ee> 3.0.1-16
 - Reintroduce a patch for CVE-2009-1885
 - Don't build static library



More information about the scm-commits mailing list