devel/python-imaging python-imaging.spec,1.2,1.3

Thorsten Leemhuis (thl) fedora-extras-commits at redhat.com
Fri Feb 11 13:18:00 UTC 2005


Author: thl

Update of /cvs/extras/devel/python-imaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30723

Modified Files:
	python-imaging.spec 
Log Message:
Build with fPIC on x86_64


Index: python-imaging.spec
===================================================================
RCS file: /cvs/extras/devel/python-imaging/python-imaging.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-imaging.spec	4 Dec 2004 13:34:07 -0000	1.2
+++ python-imaging.spec	11 Feb 2005 13:17:58 -0000	1.3
@@ -6,7 +6,7 @@
 Name: python-imaging
 Epoch: 0
 Version: 1.1.4
-Release: 6
+Release: 7
 License: Distributable
 Group: Development/Languages
 Source0: http://effbot.org/downloads/Imaging-1.1.4.tar.gz
@@ -59,7 +59,12 @@
 %build
 cd libImaging
 %configure
-make %{?_smp_mflags}
+make \
+%ifarch x86_64
+   CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" \
+%endif
+   %{?_smp_mflags}
+
 cd ..
 %{__python} setup.py build
 
@@ -99,6 +104,9 @@
 %doc Doc Scripts Images Sane
 
 %changelog
+* Mon Feb  7 2005 Thorsten Leemhuis <fedora at leemhuis dot info> - 0:1.1.4-7
+- Build PIC on x86_64 to fix x86_64 linking.
+
 * Sat Oct  9 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.1.4-6
 - Borrow parts from patch in Debian's 1.1.4-3 to fix issues in bug 1038 as
   well as a bunch of others.




More information about the fedora-extras-commits mailing list