equal
deleted
inserted
replaced
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 %%{__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 |
|
39 rm -rf $RPM_BUILD_ROOT/usr/lib/python* |
|
40 |
|
41 |
38 |
42 %%clean |
39 %%clean |
43 rm -rf $RPM_BUILD_ROOT |
40 rm -rf $RPM_BUILD_ROOT |
44 |
41 |
45 %%files |
42 %%files |
46 %%defattr(-, root, root) |
43 %%defattr(-, root, root) |
47 %%{_prefix}/share/cubicweb/cubes/* |
44 %%{_python_sitelib}/* |