ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/python.spec
(Generate patch)

Comparing COMP/CMSDIST/python.spec (file contents):
Revision 1.8 by eulisse, Fri Apr 28 11:31:42 2006 UTC vs.
Revision 1.9 by eulisse, Wed May 10 14:08:28 2006 UTC

# Line 2 | Line 2
2   ## INITENV +PATH PATH %i/bin
3   ## INITENV +PATH LD_LIBRARY_PATH %i/lib
4   # OS X patches and build fudging stolen from fink
5 < Requires: zlib expat openssl bz2lib ncurses gdbm db4
5 > Requires: zlib expat openssl bz2lib ncurses gdbm db4 glibc
6   # FIXME: readline, crypt
7   # FIXME: gmp, panel, tk/tcl, x11
8  
# Line 67 | Line 67 | if [ $(uname) = Darwin ]; then
67    # (cd %i/lib/python%{pythonv}/config; mv Makefile Makefile.orig;
68    #  sed 's|-fno-common||g' < Makefile.orig > Makefile; /bin/rm -f Makefile.orig)
69   fi
70 +
71 + perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/idle \
72 +                    %{i}/bin/pydoc \
73 +                    %{i}/bin/smtpd.py \
74 +                    %{i}/lib/python2.4/bsddb/dbshelve.py \
75 +                    %{i}/lib/python2.4/test/test_bz2.py \
76 +                    %{i}/lib/python2.4/test/test_largefile.py \
77 +                    %{i}/lib/python2.4/test/test_optparse.py

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines