ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlalchemy.spec
Revision: 1.19
Committed: Thu Apr 3 11:07:33 2008 UTC (17 years ago) by valya
Branch: MAIN
CVS Tags: WEBTOOLS-APPS_20080403_3, WEBTOOLS-APPS_20080403_2, WEBTOOLS-APPS_20080403_1
Changes since 1.18: +4 -0 lines
Log Message:
Apply fqc patch, details inside of the spec

File Contents

# User Rev Content
1 valya 1.16 ### RPM external py2-sqlalchemy 0.4.4
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     Patch: py2-sqlalchemy-fqc
11 eulisse 1.1 %prep
12 eulisse 1.9 %setup -n SQLAlchemy-%realversion
13 valya 1.18 #%patch0 -p1
14 valya 1.19 %patch0 -p0
15 eulisse 1.1 %build
16     %install
17 eulisse 1.9 mkdir -p %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
18 eulisse 1.1 python setup.py build
19 eulisse 1.9 mv build/lib/* %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
20 eulisse 1.1
21 valya 1.11