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

Comparing COMP/CMSDIST/py2-python-dateutil.spec (file contents):
Revision 1.2 by eulisse, Tue Mar 27 08:20:46 2007 UTC vs.
Revision 1.6 by diego, Wed Oct 6 13:49:52 2010 UTC

# Line 1 | Line 1
1   ### RPM external py2-python-dateutil 1.1
2 %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.)
2   ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
3  
4 < Source: http://labix.org/download/python-dateutil/python-dateutil-%{v}.tar.bz2
4 > Source: http://labix.org/download/python-dateutil/python-dateutil-%{realversion}.tar.bz2
5   Requires: python
6  
7   %prep
8 < %setup -n python-dateutil-%{v}
8 > %setup -n python-dateutil-%{realversion}
9 >
10   %build
11 + python setup.py build
12 +
13   %install
14   python setup.py install --prefix=%i
15 + egrep -r -l '^#!.*python' %i | xargs perl -p -i -e 's{^#!.*python.*}{#!/usr/bin/env python}'
16 + find %i -name '*.egg-info' -exec rm {} \;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines