ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-pyxml.spec
Revision: 1.3
Committed: Tue Apr 18 23:57:50 2006 UTC (19 years ago) by eulisse
Branch: MAIN
CVS Tags: V00-00-00
Changes since 1.2: +1 -1 lines
Log Message:
Python version now in PYTHONPATH correctly.

File Contents

# User Rev Content
1 eulisse 1.2 ### RPM external py2-pyxml 0.8.4
2 eulisse 1.3 %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/pyxml/PyXML-%{v}.tar.gz
5     Requires: python expat
6    
7     %prep
8     %setup -n PyXML-%{v}
9     %build
10     ./setup.py build
11     %install
12     ./setup.py install --prefix=%{i}