[packages/python-moksha-hub] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:31:23 CET 2015


commit 41131791ec74b52f496a462c4e4aa3b66e35b203
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-moksha-hub.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-moksha-hub.spec b/python-moksha-hub.spec
index e9f3327..92607cb 100644
--- a/python-moksha-hub.spec
+++ b/python-moksha-hub.spec
@@ -57,7 +57,7 @@ Hub components for Moksha.
 %{__sed} -i 's/pyzmq<=2.2.0.1/pyzmq/' setup.py
 
 %build
-%{__python} setup.py build
+%py_build
 
 %if %{with tests}
 %{__python} setup.py test
@@ -65,10 +65,7 @@ Hub components for Moksha.
 
 %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}/moksha/hub/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-moksha-hub.git/commitdiff/41131791ec74b52f496a462c4e4aa3b66e35b203



More information about the pld-cvs-commit mailing list