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.4 by afanfani, Mon Apr 23 22:27:42 2007 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
6   Requires: python
# Line 9 | Line 9 | Requires: oracle
9   %setup -n %downloadn-%v
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