SUNWPython26.spec
changeset 16428 6ccb84c28015
parent 16425 d6ed2a48e85f
child 16434 f21f22550fe9
--- a/SUNWPython26.spec	Mon Aug 31 12:02:58 2009 +0000
+++ b/SUNWPython26.spec	Mon Aug 31 13:03:37 2009 +0000
@@ -65,6 +65,8 @@
 Patch13:                 Python26-13-cflags.diff
 # date:2009-02-18 owner:wangke type:bug bugid:5289
 Patch14:                 Python26-14-ctypes-util-find-library.diff
+# date:2009-08-31 owner:laca type:bug bugster:6816108
+Patch15:                 Python26-15-getcwd.diff
 
 %include default-depend.inc
 BuildRequires: SUNWTk
@@ -114,6 +116,7 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 cd ..
 
 echo fixing python binary name/path in python scripts:
@@ -153,6 +156,7 @@
 cd Python-%{version}
 autoheader
 autoconf
+export CCSHARED="-KPIC"
 export DFLAGS=-32
 export CC="$CC -xregs=no%frameptr"
 export CXX="$CXX -xregs=no%frameptr -norunpath -compat=5"
@@ -368,6 +372,9 @@
 %{_libdir}/python?.?/py[cC][cC]
 
 %changelog
+* Mon Aug 31 2009 - [email protected]
+- add patch getcwd.diff, fixes 6816108 and setting CCSHARED to -KPIC -zignore
+  fixes 6871151
 * Mon Aug 24 2009 - [email protected]
 - bump to 2.6.2
 * Thu Mar 12 2009 - [email protected]