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.22 by valya, Thu Jun 4 15:57:23 2009 UTC vs.
Revision 1.26 by lat, Fri Jun 24 08:09:31 2011 UTC

# Line 1 | Line 1
1   ### RPM external py2-sqlalchemy 0.5.2
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
2 > ## INITENV +PATH PYTHONPATH %i/$PYTHON_LIB_SITE_PACKAGES
3  
4   Source: http://superb-east.dl.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-%realversion.tar.gz
5 < Requires: python py2-mysqldb py2-cx-oracle py2-pysqlite
7 < #Patch: py2-sqlalchemy-setup
5 > Requires: python
6   # Apply patch to make ORACLE works correctly while specifying owner, see
7   # http://groups.google.com/group/sqlalchemy/browse_thread/thread/902d39df9bc8cf21
8   #Patch: py2-sqlalchemy_patch_0.4.4_0.4.5
9 +
10   %prep
11   %setup -n SQLAlchemy-%realversion
12 < #%patch0 -p1
12 >
13   %build
15 %install
16 mkdir -p %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
14   python setup.py build
18 mv build/lib/* %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
19
15  
16 + %install
17 + python setup.py install --prefix=%i
18 + find %i -name '*.egg-info' -exec rm {} \;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines