1 |
< |
### RPM external sip 4.7.9 |
2 |
< |
## INITENV +PATH PYTHONPATH %i/lib/python2.4/site-packages |
1 |
> |
### RPM external sip 4.8.2 |
2 |
> |
## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION |cut -d. -f 1,2)/site-packages |
3 |
|
Source: http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-%realversion.tar.gz |
4 |
|
Requires: python |
5 |
|
%prep |
6 |
< |
%setup -n sip-%realversion |
6 |
> |
%setup -n sip-%realversion |
7 |
|
|
8 |
|
%build |
9 |
|
python ./configure.py -v %i/share -b %i/bin -d %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages -e %i/include |
11 |
|
|
12 |
|
%install |
13 |
|
make install |
14 |
+ |
|
15 |
+ |
%post |
16 |
+ |
%{relocateConfig}lib/python2.6/site-packages/sipconfig.py |