ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-zsi.spec
Revision: 1.3
Committed: Mon Apr 24 17:08:16 2006 UTC (19 years ago) by eulisse
Branch: MAIN
CVS Tags: V00-00-00
Changes since 1.2: +1 -0 lines
Log Message:
Hardcoded dependency to python removed.

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external py2-zsi 1.7
2 eulisse 1.2 %define pythonv $(echo $PYTHON_VERSION | cut -d. -f 1,2)
3 eulisse 1.1 ## 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
6    
7     %prep
8     %setup -n ZSI-%v
9     %build
10     setup.py build
11     %install
12     setup.py install --prefix=%{i}
13 eulisse 1.3 perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/wsdl2dispatch.py %{i}/bin/wsdl2py.py