ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlalchemy.spec
Revision: 1.22
Committed: Thu Jun 4 15:57:23 2009 UTC (15 years, 10 months ago) by valya
Branch: MAIN
CVS Tags: pe20091117a-fromDAS_20090709, pe20091116b-fromDAS_20090709, pe20091116a-fromDAS_20090709, DAS_20091016, DAS_20091014, WMCORE-before-refactor, PerfSuiteDB_20090930, PerfSuiteDB_20090916, pe20090910-fromDAS_20090709, PerfSuiteDB_20090904_almost_stable, PerfSuiteDB_20090904, PerfSuiteDB_20090901, forHEARTBEATr04, RPMVERIFY_0_2, DAS_20090709, DAS_20090607, DAS_20090604
Changes since 1.21: +1 -1 lines
Log Message:
Move to new sqlalchemy version 0.5.2

File Contents

# User Rev Content
1 valya 1.22 ### RPM external py2-sqlalchemy 0.5.2
2 eulisse 1.1 %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.)
3 eulisse 1.9 ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
4 eulisse 1.1
5 eulisse 1.9 Source: http://superb-east.dl.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-%realversion.tar.gz
6 valya 1.16 Requires: python py2-mysqldb py2-cx-oracle py2-pysqlite
7 valya 1.17 #Patch: py2-sqlalchemy-setup
8 valya 1.19 # Apply patch to make ORACLE works correctly while specifying owner, see
9     # http://groups.google.com/group/sqlalchemy/browse_thread/thread/902d39df9bc8cf21
10 valya 1.21 #Patch: py2-sqlalchemy_patch_0.4.4_0.4.5
11 eulisse 1.1 %prep
12 eulisse 1.9 %setup -n SQLAlchemy-%realversion
13 valya 1.21 #%patch0 -p1
14 eulisse 1.1 %build
15     %install
16 eulisse 1.9 mkdir -p %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
17 eulisse 1.1 python setup.py build
18 eulisse 1.9 mv build/lib/* %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
19 eulisse 1.1
20 valya 1.11