cubicweb.spec
changeset 9185 499f9ddc4470
parent 9000 506e656b7eef
child 9186 965f894b63cb
equal deleted inserted replaced
9002:f98d1c46ed9f 9185:499f9ddc4470
    44 find . -name '*.py' -type f -print0 |  xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;'
    44 find . -name '*.py' -type f -print0 |  xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;'
    45 %endif
    45 %endif
    46 
    46 
    47 %install
    47 %install
    48 NO_SETUPTOOLS=1 %{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
    48 NO_SETUPTOOLS=1 %{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
       
    49 mkdir -p $RPM_BUILD_ROOT/var/log/cubicweb
    49 
    50 
    50 %clean
    51 %clean
    51 rm -rf $RPM_BUILD_ROOT
    52 rm -rf $RPM_BUILD_ROOT
    52 
    53 
    53 %files 
    54 %files 
    54 %defattr(-, root, root)
    55 %defattr(-, root, root)
       
    56 %dir /var/log/cubicweb
    55 /*
    57 /*
    56 
    58