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.2 by eulisse, Wed Dec 6 22:15:07 2006 UTC vs.
Revision 1.10 by valya, Thu Nov 15 20:55:10 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
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
5 > Source: http://superb-east.dl.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-%realversion.tar.gz
6 > Requires: python py2-pysqlite  py2-mysqldb py2-cx-oracle
7  
8   %prep
9 < %setup -n SQLAlchemy-%v
9 > %setup -n SQLAlchemy-%realversion
10   %build
11   %install
12 < mkdir -p %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
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
14 > mv build/lib/* %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
15  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines