]> git.pld-linux.org Git - packages/buildbot.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
buildbot.spec

index 795aa222a0147ceb1ab2725211be5dacff68ef1c..730e7f115f9978a241e0ac531c5ab752a0a74976 100644 (file)
@@ -38,13 +38,11 @@ therefore easier to improve.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 %py_postclean
 
 %clean
This page took 0.08351 seconds and 4 git commands to generate.