1 |
|
### RPM external py2-sqlalchemy 0.3.5 |
2 |
+ |
Requires: gcc-wrapper |
3 |
|
%define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.) |
4 |
|
## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages |
5 |
|
|
6 |
|
Source: http://superb-east.dl.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-%v.tar.gz |
7 |
< |
Requires: python |
7 |
> |
Requires: python py2-pysqlite py2-mysqldb py2-cx-oracle |
8 |
|
|
9 |
|
%prep |
10 |
|
%setup -n SQLAlchemy-%v |
11 |
|
%build |
12 |
+ |
## IMPORT gcc-wrapper |
13 |
|
%install |
14 |
|
mkdir -p %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages |
15 |
|
python setup.py build |