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.44 by eulisse, Thu Feb 26 11:21:46 2009 UTC vs.
Revision 1.50 by valya, Mon Jun 8 01:03:36 2009 UTC

# Line 1 | Line 1
1 < ### RPM external python 2.5.4
1 > ### RPM external python 2.6.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
# Line 49 | Line 49 | perl -p -i -e "s|#!.*/usr/local/bin/pyth
49   # see above for the commented-out list of packages that could be
50   # linked specifically, or could be built by ourselves, depending on
51   # whether we like to pick up system libraries or want total control.
52 < mkdir -p %i/include %i/lib
52 > #mkdir -p %i/include %i/lib
53 > mkdir -p %i/include %i/lib %i/bin
54  
55   %if "%cmsplatf" != "slc4onl_ia32_gcc346"
56   %define extradirs $ZLIB_ROOT $OPENSSL_ROOT
# Line 120 | Line 121 | esac
121  
122   perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/idle \
123                      %{i}/bin/pydoc \
124 +                    %{i}/bin/python-config \
125 +                    %{i}/bin/2to3 \
126 +                    %{i}/bin/python2.6-config \
127                      %{i}/bin/smtpd.py \
128 <                    %{i}/lib/python2.4/bsddb/dbshelve.py \
129 <                    %{i}/lib/python2.4/test/test_bz2.py \
130 <                    %{i}/lib/python2.4/test/test_largefile.py \
131 <                    %{i}/lib/python2.4/test/test_optparse.py
128 >                    %{i}/lib/python2.6/bsddb/dbshelve.py \
129 >                    %{i}/lib/python2.6/test/test_bz2.py \
130 >                    %{i}/lib/python2.6/test/test_largefile.py \
131 >                    %{i}/lib/python2.6/test/test_optparse.py
132   rm  `find %{i}/lib -maxdepth 1 -mindepth 1 ! -name '*python*'`
133   rm  `find %{i}/include -maxdepth 1 -mindepth 1 ! -name '*python*'`
134  
# Line 138 | Line 142 | mkdir -p %i/etc/scram.d
142   cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
143   <doc type=BuildSystem::ToolDoc version=1.0>
144   <Tool name=%n version=%v>
145 < <lib name=python2.4>
145 > <lib name=python2.6>
146   <Client>
147   <Environment name=PYTHON_BASE default="%i"></Environment>
148   <Environment name=LIBDIR default="$PYTHON_BASE/lib"></Environment>
149 < <Environment name=INCLUDE default="$PYTHON_BASE/include/python2.4"></Environment>
150 < <Environment name=PYTHON_COMPILE default="$PYTHON_BASE/lib/python2.4/compileall.py"></Environment>
149 > <Environment name=INCLUDE default="$PYTHON_BASE/include/python2.6"></Environment>
150 > <Environment name=PYTHON_COMPILE default="$PYTHON_BASE/lib/python2.6/compileall.py"></Environment>
151   </Client>
152   <use name=sockets>
153   <Runtime name=PATH value="$PYTHON_BASE/bin" type=path>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines