]> git.pld-linux.org Git - packages/BitTornado.git/blobdiff - BitTornado.spec
automatic change: use py_build/py_install macros
[packages/BitTornado.git] / BitTornado.spec
index 0fd7ce3e4fa24e709fd4af547182027b0b4b7723..243c1b17d584bfe472ab6210b8092a84860c25dd 100644 (file)
@@ -59,7 +59,7 @@ find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
-python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%py_install
 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
 
 install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
This page took 0.066579 seconds and 4 git commands to generate.