Revision: | 1.2 |
Committed: | Mon Nov 13 15:32:33 2006 UTC (18 years, 5 months ago) by eulisse |
Branch: | MAIN |
Changes since 1.1: | +1 -1 lines |
Log Message: | PYTHONPATH corrected. |
# | Content |
---|---|
1 | ### RPM external py2-sqlobject 0.7.0 |
2 | %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.) |
3 | ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages |
4 | |
5 | %define distname SQLObject-%v |
6 | Source: http://cheeseshop.python.org/packages/source/S/SQLObject/%{distname}.tar.gz |
7 | Patch0: patch-setup |
8 | Requires: python |
9 | |
10 | %prep |
11 | %setup -n %{distname} |
12 | %patch0 |
13 | %build |
14 | %install |
15 | python setup.py install --prefix=%i |