- on 64bit "stdlib" was still "/usr/lib/python*" (modify *lib64.patch)

- make find-provides-without-python-sonames.sh 64bit aware
This commit is contained in:
Thomas Spura 2010-08-22 14:40:58 +02:00
parent 7eb10c8dbe
commit 997d5a24f2
3 changed files with 26 additions and 2 deletions

View File

@ -9,6 +9,7 @@
# So we strip out all /usr/lib/python lines first, before running them through
# the standard script:
grep -v "/usr/lib/python" | /usr/lib/rpm/find-provides
grep -v "/usr/lib/python" | grep -v "/usr/lib64/python" | \
/usr/lib/rpm/find-provides
exit 0
exit 0

View File

@ -144,3 +144,22 @@ diff -up Python-3.2a1/Modules/getpath.c.lib64 Python-3.2a1/Modules/getpath.c
] )
if (ssl_incs is not None and
Index: Lib/sysconfig.py
===================================================================
--- Lib/sysconfig.py
+++ Lib/sysconfig.py 2010-08-22 14:34:38.791426924 +0200
@@ -11,10 +11,10 @@
_INSTALL_SCHEMES = {
'posix_prefix': {
- 'stdlib': '{base}/lib/python{py_version_short}',
- 'platstdlib': '{platbase}/lib/python{py_version_short}',
- 'purelib': '{base}/lib/python{py_version_short}/site-packages',
- 'platlib': '{platbase}/lib/python{py_version_short}/site-packages',
+ 'stdlib': '{base}/lib64/python{py_version_short}',
+ 'platstdlib': '{platbase}/lib64/python{py_version_short}',
+ 'purelib': '{base}/lib64/python{py_version_short}/site-packages',
+ 'platlib': '{platbase}/lib64/python{py_version_short}/site-packages',
'include': '{base}/include/python{py_version_short}',
'platinclude': '{platbase}/include/python{py_version_short}',
'scripts': '{base}/bin',

View File

@ -1161,6 +1161,10 @@ rm -fr %{buildroot}
%changelog
* Sun Aug 22 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.2-0.1.a1
- on 64bit "stdlib" was still "/usr/lib/python*" (modify *lib64.patch)
- make find-provides-without-python-sonames.sh 64bit aware
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)