OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 02-Nov-2006 21:54:17
Branch: HEAD Handle: 2006110220541600
Modified files:
openpkg-src/python python.spec
Log:
try to workaround shell command line limitations under AIX
Summary:
Revision Changes Path
1.71 +4 -4 openpkg-src/python/python.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/python/python.spec
============================================================================
$ cvs diff -u -r1.70 -r1.71 python.spec
--- openpkg-src/python/python.spec 13 Oct 2006 17:33:13 -0000 1.70
+++ openpkg-src/python/python.spec 2 Nov 2006 20:54:16 -0000 1.71
@@ -33,7 +33,7 @@
Group: Language
License: GPL
Version: 2.5
-Release: 20061013
+Release: 20061102
# package options
%option with_readline no
@@ -123,10 +123,10 @@
%{l_shtool} subst \
-e 's;\(lib/python"\) *VERSION;\1;g' \
Modules/getpath.c
- %{l_shtool} subst -q \
+ find Lib -name "*.py" -print |\
+ xargs %{l_shtool} subst -q \
-e 's;\+ *sys\.version\[:3\];;g' \
- -e 's;\+ *get_python_version();;g' \
- Lib/*.py Lib/*/*.py Lib/*/*/*.py
+ -e 's;\+ *get_python_version();;g'
%{l_shtool} subst \
-e 's;python\$py_version_short;python;g' \
Lib/distutils/command/install.py
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]