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

# User Rev Content
1 eulisse 1.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 eulisse 1.2 mkdir -p %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
13 eulisse 1.1 python setup.py build
14 eulisse 1.2 mv build/lib/* %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
15 eulisse 1.1