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

Comparing COMP/CMSDIST/py2-cx-oracle.spec (file contents):
Revision 1.3 by ratnik, Wed Apr 18 23:46:02 2007 UTC vs.
Revision 1.7 by egeland, Wed Oct 29 10:17:31 2008 UTC

# Line 1 | Line 1
1   ### RPM external py2-cx-oracle 4.2
2 < Requires: gcc-wrapper
3 < ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -d. -f 1,2)/site-packages
2 > %define pythonv `echo $PYTHON_VERSION |cut -d. -f1,2`
3 > ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages
4   %define downloadn cx_Oracle
5 < Source: http://switch.dl.sourceforge.net/sourceforge/cx-oracle/%downloadn-%v.tar.gz
5 > Source: http://switch.dl.sourceforge.net/sourceforge/cx-oracle/%downloadn-%realversion.tar.gz
6   Requires: python
7   Requires: oracle
8   %prep
9 < %setup -n %downloadn-%v
9 > %setup -n %downloadn-%realversion
10  
11   %build
12 ## IMPORT gcc-wrapper
12   %install
13   perl -p -i -e 's/(?<=includeDirs = \[)/"include", /' setup.py
14   python setup.py install --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines