cubicweb.spec
changeset 11424 1451f040555f
parent 11395 8f035d5d5953
child 11426 f666f484e5f4
equal deleted inserted replaced
11417:5e5e224239c3 11424:1451f040555f
    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