equal
deleted
inserted
replaced
47 # change the python version in shebangs |
47 # change the python version in shebangs |
48 find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;' |
48 find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;' |
49 %endif |
49 %endif |
50 |
50 |
51 %install |
51 %install |
52 NO_SETUPTOOLS=1 %{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT" |
52 %{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT" |
53 mkdir -p $RPM_BUILD_ROOT/var/log/cubicweb |
53 mkdir -p $RPM_BUILD_ROOT/var/log/cubicweb |
54 |
54 |
55 %clean |
55 %clean |
56 rm -rf $RPM_BUILD_ROOT |
56 rm -rf $RPM_BUILD_ROOT |
57 |
57 |