Revision: | 1.4 |
Committed: | Wed Mar 14 17:57:49 2007 UTC (18 years, 1 month ago) by eulisse |
Branch: | MAIN |
Changes since 1.3: | +1 -1 lines |
Log Message: | Fixes http://savannah.cern.ch/bugs/?24740 |
# | User | Rev | Content |
---|---|---|---|
1 | valya | 1.3 | ### RPM external cherrypy 3.0.1 |
2 | eulisse | 1.4 | %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 | valya | 1.3 | |
5 | # use line below for version 2.2.1 | ||
6 | #Source: http://switch.dl.sourceforge.net/sourceforge/%n/CherryPy-%v.tar.gz | ||
7 | |||
8 | # this is where cherrypy version 3 is located | ||
9 | Source: http://download.cherrypy.org/cherrypy/%v/CherryPy-%v.tar.gz | ||
10 | eulisse | 1.1 | Requires: python |
11 | |||
12 | %prep | ||
13 | %setup -n CherryPy-%v | ||
14 | %build | ||
15 | %install | ||
16 | python setup.py install --prefix=%i |