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

Comparing COMP/CMSDIST/py-xmlrpc.spec (file contents):
Revision 1.4 by steen, Thu May 11 23:03:52 2006 UTC vs.
Revision 1.7 by elmer, Tue May 1 10:57:27 2007 UTC

# Line 1 | Line 1
1   ### RPM external py-xmlrpc 0.8.8.2
2 < %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
3 < %define pydir %(which python| python -c "import sys,os; version=sys.version[:3];path='/'+reduce(lambda x,y: x+y+'/',sys.stdin.readline().split('/')[:-2]);print path")
2 > %define pythonv $(echo $PYTHON_VERSION | cut -d. -f 1,2)
3 > %define pydir $(which python| python -c "import sys,os; version=sys.version[:3];path='/'+reduce(lambda x,y: x+y+'/',sys.stdin.readline().split('/')[:-2]);print path")
4   %define bindir %pydir/bin
5   %define sitedir %pydir/lib/python%pythonv/site-packages
6   ## INITENV +PATH PYTHONPATH %{i}/lib/python%pythonv/site-packages

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines