[packages/buildbot] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:23:24 CET 2015
commit cf40ba79f2884378b4a86f5b0f465d4026bc2cf8
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
buildbot.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/buildbot.spec b/buildbot.spec
index 795aa22..730e7f1 100644
--- a/buildbot.spec
+++ b/buildbot.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/buildbot.git/commitdiff/cf40ba79f2884378b4a86f5b0f465d4026bc2cf8
More information about the pld-cvs-commit
mailing list