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.14 by eulisse, Wed Jul 5 14:52:39 2006 UTC vs.
Revision 1.18 by eulisse, Mon Aug 14 13:00:49 2006 UTC

# Line 44 | Line 44 | perl -p -i -e "s|#!.*/usr/local/bin/pyth
44   # whether we like to pick up system libraries or want total control.
45   mkdir -p %i/include %i/lib
46   dirs="$ZLIB_ROOT $EXPAT_ROOT $OPENSSL_ROOT $BZ2LIB_ROOT $NCURSES_ROOT $DB4_ROOT $GDBM_ROOT"
47 + echo $dirs
48   for d in $dirs; do
49    for f in $d/include/*; do
50      [ -f $f ] || continue
# Line 90 | Line 91 | perl -p -i -e "s|^#!.*python|#!/usr/bin/
91                      %{i}/lib/python2.4/test/test_largefile.py \
92                      %{i}/lib/python2.4/test/test_optparse.py
93   # boost.spec rfio.spec
94 + #
95 + #
96 + rm  `find %{i}/lib -maxdepth 1 -mindepth 1 ! -name '*python*'`
97 + rm  `find %{i}/include -maxdepth 1 -mindepth 1 ! -name '*python*'`
98 + %post
99 + 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