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.68 by lat, Fri Sep 10 16:25:11 2010 UTC vs.
Revision 1.69 by eulisse, Thu Sep 16 09:22:00 2010 UTC

# Line 15 | Line 15 | Requires: zlib openssl sqlite
15   # FIXME: gmp, panel, tk/tcl, x11
16  
17   Source0: http://www.python.org/ftp/%n/%realversion/Python-%realversion.tgz
18 + Patch0: python-2.6.4-dont-detect-dbm
19  
20   %prep
21   %setup -n Python-%realversion
22   perl -p -i -e "s|#!.*/usr/local/bin/python|#!/usr/bin/env python|" Lib/cgi.py
23  
24 < %ifos darwin
25 < sed 's|@PREFIX@|%i|g' < %_sourcedir/python-osx | patch -p1
26 < %endif
24 > case %cmsplatf in
25 >  osx*)
26 >        sed 's|@PREFIX@|%i|g' < %_sourcedir/python-osx | patch -p1
27 >  ;;
28 > esac
29 > %patch0 -p1
30  
31   %build
32   # Python is awkward about passing other include or library directories

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines