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

Comparing COMP/CMSDIST/py2-pyxml.spec (file contents):
Revision 1.9 by diego, Wed Oct 6 13:50:55 2010 UTC vs.
Revision 1.10 by lat, Mon May 23 15:59:45 2011 UTC

# Line 11 | Line 11 | python setup.py build
11  
12   %install
13   python setup.py install --prefix=%i
14 egrep -r -l '^#!.*python' %i | xargs perl -p -i -e 's{^#!.*python.*}{#!/usr/bin/env python}'
14   find %i -name '*.egg-info' -exec rm {} \;
15 + for f in %i/bin/xmlproc_*; do perl -p -i -e 's{.*}{#!/usr/bin/env python} if $. == 1 && m{#!.*/bin/python}' $f; done

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines