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.50 by valya, Mon Jun 8 01:03:36 2009 UTC vs.
Revision 1.55 by elmer, Tue Nov 3 15:04:08 2009 UTC

# Line 1 | Line 1
1 < ### RPM external python 2.6.2
1 > ### RPM external python 2.6.4
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 + %define closingbrace )
6 + %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo false;; esac)
7  
8   Requires: expat bz2lib db4 gdbm
9  
10 < %if "%cmsplatf" != "slc4onl_ia32_gcc346"
10 > %if "%online" != "true"
11   Requires: zlib openssl
12   %endif
13  
# Line 52 | Line 54 | perl -p -i -e "s|#!.*/usr/local/bin/pyth
54   #mkdir -p %i/include %i/lib
55   mkdir -p %i/include %i/lib %i/bin
56  
57 < %if "%cmsplatf" != "slc4onl_ia32_gcc346"
57 > %if "%online" != "true"
58   %define extradirs $ZLIB_ROOT $OPENSSL_ROOT
59   %else
60   %define extradirs %{nil}
# Line 132 | Line 134 | perl -p -i -e "s|^#!.*python|#!/usr/bin/
134   rm  `find %{i}/lib -maxdepth 1 -mindepth 1 ! -name '*python*'`
135   rm  `find %{i}/include -maxdepth 1 -mindepth 1 ! -name '*python*'`
136  
137 + %if "%online" == "true"
138   # remove tkinter that brings dependency on libtk:
136 #
137
139   rm  `find %{i}/lib -type f -name "_tkinter.so"`
140 + %endif
141  
142   # SCRAM ToolBox toolfile
143   mkdir -p %i/etc/scram.d

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines