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.6 by eulisse, Mon Jul 9 13:12:23 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 > ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
3 > %define pythonv `echo $PYTHON_VERSION |cut -d. -f1,2`
4 > ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages
5   %define downloadn cx_Oracle
6 < Source: http://switch.dl.sourceforge.net/sourceforge/cx-oracle/%downloadn-%v.tar.gz
6 > Source: http://switch.dl.sourceforge.net/sourceforge/cx-oracle/%downloadn-%realversion.tar.gz
7   Requires: python
8   Requires: oracle
9   %prep
10 < %setup -n %downloadn-%v
10 > %setup -n %downloadn-%realversion
11  
12   %build
12 ## IMPORT gcc-wrapper
13   %install
14   perl -p -i -e 's/(?<=includeDirs = \[)/"include", /' setup.py
15   python setup.py install --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines