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

Comparing COMP/CMSDIST/py2-zsi.spec (file contents):
Revision 1.2 by eulisse, Tue Apr 18 23:56:57 2006 UTC vs.
Revision 1.7 by elmer, Tue May 1 11:09:39 2007 UTC

# Line 1 | Line 1
1   ### RPM external py2-zsi 1.7
2 < %define pythonv $(echo $PYTHON_VERSION | cut -d. -f 1,2)
2 > %define pythonv `echo $PYTHON_VERSION | cut -d. -f 1,2`
3   ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages
4   Source: http://switch.dl.sourceforge.net/sourceforge/pywebsvcs/ZSI-%{v}.tar.gz
5   Requires: python
# Line 7 | Line 7 | Requires: python
7   %prep
8   %setup -n ZSI-%v
9   %build
10 < setup.py build
10 > ./setup.py build
11   %install
12 < setup.py install --prefix=%{i}
12 > ./setup.py install --prefix=%{i}
13 > perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/wsdl2dispatch.py %{i}/bin/wsdl2py.py

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines