ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/scons.spec
(Generate patch)

Comparing COMP/CMSDIST/scons.spec (file contents):
Revision 1.5 by diego, Mon Apr 12 14:16:19 2010 UTC vs.
Revision 1.7 by diego, Wed Oct 6 14:09:09 2010 UTC

# Line 7 | Line 7 | Requires: python
7   %setup -n scons-%realversion
8  
9   %build
10 + python setup.py build
11  
12   %install
12 #mkdir -p %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
13   python setup.py install --prefix=%i
14 < #mv build/lib*/* %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
15 <
16 < ## IMPORT common-install
17 <
18 < %post
19 < ## IMPORT common-post
20 <
14 > egrep -r -l '^#!.*python' %i | xargs perl -p -i -e 's{^#!.*python.*}{#!/usr/bin/env python}'
15 > find %i -name '*.egg-info' -exec rm {} \;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines