ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-pyxml.spec
Revision: 1.2
Committed: Wed Apr 5 12:26:06 2006 UTC (19 years ago) by eulisse
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
Fixes the filename in the RPM tag

File Contents

# User Rev Content
1 eulisse 1.2 ### RPM external py2-pyxml 0.8.4
2 eulisse 1.1 %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/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}