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 |
7 |
< |
Requires: oracle |
5 |
> |
Source: http://switch.dl.sourceforge.net/sourceforge/cx-oracle/%downloadn-%realversion.tar.gz |
6 |
> |
Requires: python oracle oracle-env |
7 |
|
%prep |
8 |
< |
%setup -n %downloadn-%v |
8 |
> |
%setup -n %downloadn-%realversion |
9 |
|
|
10 |
|
%build |
11 |
|
%install |