[packages/circus] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:24:27 CET 2015


commit 474d97d4b1c4cc08b85e00812044247e4e815bdd
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 circus.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/circus.spec b/circus.spec
index ad5b89d..98f7d94 100644
--- a/circus.spec
+++ b/circus.spec
@@ -43,16 +43,13 @@ Circus can be used as a library or through the command line.
 %patch0 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/circus.git/commitdiff/474d97d4b1c4cc08b85e00812044247e4e815bdd



More information about the pld-cvs-commit mailing list