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.16 by eulisse, Mon Jul 24 16:07:55 2006 UTC vs.
Revision 1.26 by eulisse, Wed Jun 27 08:20:24 2007 UTC

# Line 1 | Line 1
1 < ### RPM external python 2.4.2
1 > ### RPM external python 2.4.4-wt1
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 db4 gdbm openssl
5 > Requires: zlib expat openssl bz2lib db4 gdbm
6   # FIXME: readline, crypt
7   # FIXME: gmp, panel, tk/tcl, x11
8  
9 < Source0: http://www.python.org/ftp/%n/%v/Python-%v.tgz
9 > Source0: http://www.python.org/ftp/%n/%realversion/Python-%realversion.tgz
10   Patch0: python-Include-pyport.h
11   Patch1: python-Lib-plat-mac-applesingle.py
12   Patch2: python-Lib-site.py
# 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
20 > %setup -n Python-%realversion
21   #%patch0
22   #%patch1
23   #%patch2
# Line 63 | Line 64 | make %makeprocesses
64  
65   %install
66   make install
67 < %define pythonv %(echo %v | cut -d. -f 1,2)
67 > %define pythonv %(echo %realversion | cut -d. -f 1,2)
68  
69   #if [ $(uname) = Darwin ]; then
70    # make install prefix=%i
# Line 93 | Line 94 | perl -p -i -e "s|^#!.*python|#!/usr/bin/
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