]> git.pld-linux.org Git - packages/buildbot.git/blobdiff - buildbot.spec
BR: rpmbuild(macros) >= 1.710
[packages/buildbot.git] / buildbot.spec
index 795aa222a0147ceb1ab2725211be5dacff68ef1c..50013d9b0fe92a5bc8f1bbd15699f5036f60d10e 100644 (file)
@@ -10,7 +10,7 @@ URL:          http://www.buildbot.net/
 BuildRequires: python-devel
 BuildRequires: python-modules
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.710
 %pyrequires_eq python-modules
 Requires:      python-TwistedConch
 Requires:      python-TwistedCore
@@ -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.033257 seconds and 4 git commands to generate.