From 81cc0f163f29cd3c69c94ce66ada0c3ca169ce6a Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 11:02:10 +0000 Subject: auto-import python-2.2.1-17a from python-2.2.1-17a.src.rpm --- diff --git a/python.spec b/python.spec index e03e1ae..4b2c087 100644 --- a/python.spec +++ b/python.spec @@ -11,7 +11,7 @@ Summary: An interpreted, interactive, object-oriented programming language. Name: %{python} Version: 2.2.1 -Release: 17 +Release: 17a License: PSF - see LICENSE Group: Development/Languages Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tgz @@ -155,6 +155,9 @@ find -name "*~" |xargs rm -f CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC" CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC" OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC" +%ifarch s390 s390x +export LDSHARED="gcc -shared -fPIC " +%endif %configure --enable-ipv6 --enable-unicode=ucs2 make OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC" %{?_smp_mflags}