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.4 by eulisse, Wed Apr 12 10:36:02 2006 UTC vs.
Revision 1.5 by eulisse, Mon Apr 24 22:22:12 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
5 > Requires: zlib expat openssl bz2lib
6   # FIXME: readline, ncurses, crypt, various [ng]dbm, db-*, db[1-3],
7   # FIXME: gmp, panel, tk/tcl, x11
8  
# Line 11 | Line 11 | Source0: http://www.python.org/ftp/%n/%v
11  
12   %prep
13   %setup -n Python-%v
14 + perl -p -i -e "s|#!.*/usr/local/bin/python|#!/usr/bin/env python|" Lib/cgi.py
15 +
16   %ifos darwin
17   sed 's|@PREFIX@|%i|g' < %_sourcedir/python-osx | patch -p1
18   %endif
# Line 28 | Line 30 | Source0: http://www.python.org/ftp/%n/%v
30   # linked specifically, or could be built by ourselves, depending on
31   # whether we like to pick up system libraries or want total control.
32   mkdir -p %i/include %i/lib
33 < dirs="$ZLIB_ROOT $EXPAT_ROOT $OPENSSL_ROOT"
33 > dirs="$ZLIB_ROOT $EXPAT_ROOT $OPENSSL_ROOT $BZ2LIB_ROOT"
34   for d in $dirs; do
35    for f in $d/include/*; do
36      [ -f $f ] || continue
# Line 42 | Line 44 | for d in $dirs; do
44    done
45   done
46  
47 < ./configure --prefix=%i --enable-shared
47 > ./configure --prefix=%i --enable-shared --without-tk --disable-tk --without-readline
48   make %makeprocesses
49  
50   %install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines