rpms/python/devel python.spec,1.142,1.143

James Antill james at fedoraproject.org
Tue Mar 17 14:04:34 UTC 2009


Author: james

Update of /cvs/pkgs/rpms/python/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32123

Modified Files:
	python.spec 
Log Message:
* Tue Mar 17 2009 James Antill <james at fedoraproject.org> - 2.6-6
- Use system libffi
- Resolves: bug#490573



Index: python.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python/devel/python.spec,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -r1.142 -r1.143
--- python.spec	26 Feb 2009 20:29:13 -0000	1.142
+++ python.spec	17 Mar 2009 14:04:03 -0000	1.143
@@ -22,6 +22,7 @@
 Summary: An interpreted, interactive, object-oriented programming language
 Name: %{python}
 Version: 2.6
+Release: 6%{?dist}
 Release: 5%{?dist}
 License: Python
 Group: Development/Languages
@@ -88,6 +89,7 @@
 BuildRequires: tix-devel bzip2-devel sqlite-devel
 BuildRequires: autoconf
 BuildRequires: db4-devel >= 4.7
+BuildRequires: libffi-devel
 
 URL: http://www.python.org/
 
@@ -238,6 +240,7 @@
 topdir=`pwd`
 export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
 export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
+export CPPFLAGS="`pkg-config --cflags-only-I libffi`"
 export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
 export LINKCC="gcc"
 if pkg-config openssl ; then
@@ -248,7 +251,7 @@
 export CC=gcc
 # For patch 4, need to get a newer configure generated out of configure.in
 autoconf
-%configure --enable-ipv6 --enable-unicode=%{unicode} --enable-shared
+%configure --enable-ipv6 --enable-unicode=%{unicode} --enable-shared --with-system-ffi
 
 make OPT="$CFLAGS" %{?_smp_mflags}
 LD_LIBRARY_PATH=$topdir $topdir/python Tools/scripts/pathfix.py -i "%{_bindir}/env python%{pybasever}" .
@@ -524,6 +527,10 @@
 %{_libdir}/python%{pybasever}/lib-dynload/_testcapimodule.so
 
 %changelog
+* Tue Mar 17 2009 James Antill <james at fedoraproject.org> - 2.6-6
+- Use system libffi
+- Resolves: bug#490573
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.6-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list