SPECS: python.spec - $script needs to be expanded (thx wrobell)

glen glen at pld-linux.org
Thu Jan 26 11:47:51 CET 2006


Author: glen                         Date: Thu Jan 26 10:47:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- $script needs to be expanded (thx wrobell)

---- Files affected:
SPECS:
   python.spec (1.249 -> 1.250) 

---- Diffs:

================================================================
Index: SPECS/python.spec
diff -u SPECS/python.spec:1.249 SPECS/python.spec:1.250
--- SPECS/python.spec:1.249	Thu Jan 26 01:06:26 2006
+++ SPECS/python.spec	Thu Jan 26 11:47:45 2006
@@ -35,7 +35,7 @@
 Summary(uk):	íĎ×Á ĐŇĎÇŇÁÍŐ×ÁÎÎŃ ÄŐÖĹ ×ÉÓĎËĎÇĎ ŇŚ×ÎŃ Ú X-ŚÎÔĹŇĆĹĘÓĎÍ
 Name:		python
 Version:	%{py_ver}.2
-Release:	3.5
+Release:	3.6
 Epoch:		1
 License:	PSF
 Group:		Applications
@@ -540,7 +540,7 @@
 for script in timeit profile pdb pstats smtpd; do
     cat <<'END' > $RPM_BUILD_ROOT%{_bindir}/${script}$SCRIPT_EXT
 #!/bin/sh
-exec python %{py_scriptdir}/${script}.pyc "$@"
+exec %{_bindir}/python %{py_scriptdir}/${script}.pyc \${1:+"\$@"}
 END
 done
 
@@ -821,6 +821,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.250  2006/01/26 10:47:45  glen
+- $script needs to be expanded (thx wrobell)
+
 Revision 1.249  2006/01/26 00:06:26  glen
 - use dynamic sys.lib patch.
   now possible to have -libs package from athlon and amd64 while searchpath stays correct
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python.spec?r1=1.249&r2=1.250&f=u



More information about the pld-cvs-commit mailing list