equal
deleted
inserted
replaced
32 # change the python version in shebangs |
32 # change the python version in shebangs |
33 find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;' |
33 find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;' |
34 %%endif |
34 %%endif |
35 |
35 |
36 %%install |
36 %%install |
37 NO_SETUPTOOLS=1 %%{__python} setup.py --quiet install --no-compile --prefix=%%{_prefix} --root="$RPM_BUILD_ROOT" |
37 %%{__python} setup.py --quiet install --no-compile --prefix=%%{_prefix} --root="$RPM_BUILD_ROOT" |
38 # remove generated .egg-info file |
38 # remove generated .egg-info file |
39 rm -rf $RPM_BUILD_ROOT/usr/lib/python* |
39 rm -rf $RPM_BUILD_ROOT/usr/lib/python* |
40 |
40 |
41 |
41 |
42 %%clean |
42 %%clean |