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

Comparing COMP/CMSDIST/py2-setuptools.spec (file contents):
Revision 1.4 by lat, Mon May 23 15:59:45 2011 UTC vs.
Revision 1.6 by lat, Sat Jul 9 11:38:32 2011 UTC

# Line 1 | Line 1
1   ### RPM external py2-setuptools 0.6c9
2 < ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
2 > ## INITENV +PATH PYTHONPATH %i/$PYTHON_LIB_SITE_PACKAGES
3  
4   Source: http://pypi.python.org/packages/source/s/setuptools/setuptools-%realversion.tar.gz
5   Requires: python
# Line 13 | Line 13 | python setup.py build
13   %install
14   python setup.py install --prefix=%i --single-version-externally-managed --record=/dev/null
15   find %i -name '*.egg-info' -exec rm {} \;
16 + rm -f %i/$PYTHON_LIB_SITE_PACKAGES/setuptools/*.exe
17   for f in %i/bin/easy_install*; 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