1 |
< |
### RPM external py2-cheetah 2.0rc7 |
2 |
< |
Requires: gcc-wrapper |
1 |
> |
### RPM external py2-cheetah 2.2.1 |
2 |
|
Requires: python |
3 |
< |
## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}$(echo $PYTHON_VERSION | cut -d. -f 1,2)/site-packages |
3 |
> |
## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages |
4 |
|
%define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2) |
5 |
< |
Source: http://switch.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-%v.tar.gz |
5 |
> |
Source: http://switch.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-%realversion.tar.gz |
6 |
|
|
7 |
|
%prep |
8 |
< |
%setup -n Cheetah-%v |
8 |
> |
%setup -n Cheetah-%realversion |
9 |
|
%build |
11 |
– |
## IMPORT gcc-wrapper |
10 |
|
%install |
11 |
|
python setup.py install --prefix=%i |
12 |
|
perl -p -i -e "s|#\!.*python|#!/usr/bin/env python|" %i/bin/cheetah |