[Python-checkins] python/dist/src/Misc/RPM python-2.3.spec, 1.2.12.7, 1.2.12.8

loewis at users.sourceforge.net loewis at users.sourceforge.net
Wed Mar 31 13:58:45 EST 2004


Update of /cvsroot/python/python/dist/src/Misc/RPM
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8092

Modified Files:
      Tag: release23-maint
	python-2.3.spec 
Log Message:
Patch #924497: find(1) all files with /usr/local/bin/python in them.


Index: python-2.3.spec
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/RPM/python-2.3.spec,v
retrieving revision 1.2.12.7
retrieving revision 1.2.12.8
diff -C2 -d -r1.2.12.7 -r1.2.12.8
*** python-2.3.spec	15 Feb 2004 21:26:44 -0000	1.2.12.7
--- python-2.3.spec	31 Mar 2004 18:58:42 -0000	1.2.12.8
***************
*** 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 at 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 at 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}"'|' \




More information about the Python-checkins mailing list