ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cherrypy.spec
Revision: 1.2
Committed: Mon Nov 13 15:37:15 2006 UTC (18 years, 5 months ago) by eulisse
Branch: MAIN
CVS Tags: PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPIL116, forPR032, forPR030, forPR020, forPR010
Changes since 1.1: +1 -1 lines
Log Message:
PYTHONPATH fixed.

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external cherrypy 2.2.1
2     %define pythonv %(echo $PYTHON_VERSION |cut -d. -f1,2)
3 eulisse 1.2 ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION |cut -d. -f 1,2)/site-packages
4 eulisse 1.1 Source: http://switch.dl.sourceforge.net/sourceforge/%n/CherryPy-%v.tar.gz
5     Requires: python
6    
7     %prep
8     %setup -n CherryPy-%v
9     %build
10     %install
11     python setup.py install --prefix=%i