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.13 by elmer, Thu Jun 1 22:41:48 2006 UTC vs.
Revision 1.19 by steen, Fri Aug 25 20:55:03 2006 UTC

# Line 1 | Line 1
1 < ### RPM external python 2.4.2
1 > ### RPM external python 2.4.3
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 15 | Line 15 | Patch4: python-Makefile.pre.in
15   Patch5: python-configure
16   Patch6: python-setup.py
17  
18 +
19   %prep
20   %setup -n Python-%v
21   #%patch0
# Line 44 | Line 45 | perl -p -i -e "s|#!.*/usr/local/bin/pyth
45   # whether we like to pick up system libraries or want total control.
46   mkdir -p %i/include %i/lib
47   dirs="$ZLIB_ROOT $EXPAT_ROOT $OPENSSL_ROOT $BZ2LIB_ROOT $NCURSES_ROOT $DB4_ROOT $GDBM_ROOT"
48 + echo $dirs
49   for d in $dirs; do
50    for f in $d/include/*; do
51      [ -f $f ] || continue
# Line 89 | Line 91 | perl -p -i -e "s|^#!.*python|#!/usr/bin/
91                      %{i}/lib/python2.4/test/test_bz2.py \
92                      %{i}/lib/python2.4/test/test_largefile.py \
93                      %{i}/lib/python2.4/test/test_optparse.py
94 + # boost.spec rfio.spec
95 + #
96 + #
97 + rm  `find %{i}/lib -maxdepth 1 -mindepth 1 ! -name '*python*'`
98 + rm  `find %{i}/include -maxdepth 1 -mindepth 1 ! -name '*python*'`
99 + %post
100 + find $RPM_INSTALL_PREFIX/%pkgrel/lib -type l | xargs ls -la | sed -e "s|.*[ ]\(/.*\) -> \(.*\)| \2 \1|;s|[ ]/[^ ]*/external| $RPM_INSTALL_PREFIX/%cmsplatf/external|g" | xargs -n2 ln -sf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines