ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlalchemy.spec
(Generate patch)

Comparing COMP/CMSDIST/py2-sqlalchemy.spec (file contents):
Revision 1.1 by eulisse, Wed Dec 6 22:07:24 2006 UTC vs.
Revision 1.13 by eulisse, Thu Dec 20 14:28:16 2007 UTC

# Line 1 | Line 1
1 < ### RPM external py2-sqlalchemy 0.3.1
1 > ### RPM external py2-sqlalchemy 0.3.11
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
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-%realversion.tar.gz
6 + Requires: python py2-pysqlite py2-cx-oracle
7 + Patch: py2-sqlalchemy-setup
8   %prep
9 < %setup -n SQLAlchemy-%v
9 > %setup -n SQLAlchemy-%realversion
10 > %patch0 -p1
11   %build
12   %install
13 < mkdir -p %i/lib/python%{pythonv}/site-packages
13 > mkdir -p %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
14   python setup.py build
15 < mv build/lib/* %i/lib/python%{pythonv}/site-packages
15 > mv build/lib/* %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
16 >
17  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines