Update of /cvsroot/python/python/dist/src/Misc/RPM In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8253 Modified Files: python-2.3.spec Log Message: Patch #924497: find(1) all files with /usr/local/bin/python in them. Backported to 2.3. Index: python-2.3.spec =================================================================== RCS file: /cvsroot/python/python/dist/src/Misc/RPM/python-2.3.spec,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** python-2.3.spec 15 Feb 2004 21:27:03 -0000 1.4 --- python-2.3.spec 31 Mar 2004 18:59:04 -0000 1.5 *************** *** 33,37 **** %define version 2.3.3 %define libvers 2.3 ! %define release 1pydotorg %define __prefix /usr --- 33,37 ---- %define version 2.3.3 %define libvers 2.3 ! %define release 3pydotorg %define __prefix /usr *************** *** 128,131 **** --- 128,135 ---- %changelog + * Sat Mar 27 2003 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.2-3pydotorg] + - Being more agressive about finding the paths to fix for + #!/usr/local/bin/python. + * Sat Feb 07 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.3-2pydotorg] - Adding code to remove "#!/usr/local/bin/python" from particular files and *************** *** 268,275 **** # fix the #! line in installed files ! for file in \ ! usr/lib/python2.3/Tools/scripts/parseentities.py \ ! usr/lib/python2.3/cgi.py \ ! usr/lib/python2.3/Tools/faqwiz/faqw.py do sed 's|^#!.*python|#!/usr/bin/env python'"%{binsuffix}"'|' \ --- 272,277 ---- # fix the #! line in installed files ! find . -type f -print0 | xargs -0 grep -l /usr/local/bin/python | ! while read file do sed 's|^#!.*python|#!/usr/bin/env python'"%{binsuffix}"'|' \
participants (1)
-
loewis@users.sourceforge.net