ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlalchemy.spec
Revision: 1.2
Committed: Wed Dec 6 22:15:07 2006 UTC (18 years, 4 months ago) by eulisse
Branch: MAIN
Changes since 1.1: +2 -2 lines
Log Message:
Installation path corrected.

File Contents

# Content
1 ### RPM external py2-sqlalchemy 0.3.1
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 Source: http://superb-east.dl.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-%v.tar.gz
6 Requires: python
7
8 %prep
9 %setup -n SQLAlchemy-%v
10 %build
11 %install
12 mkdir -p %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
13 python setup.py build
14 mv build/lib/* %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
15