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

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


commit 61fbf124a7f01d6bbc3ecab62d332bc64f30ea68
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-cherrypy.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-cherrypy.spec b/python-cherrypy.spec
index 154922c..09c0c86 100644
--- a/python-cherrypy.spec
+++ b/python-cherrypy.spec
@@ -65,15 +65,13 @@ Pliki przykładów dla CherryPy.
 #%patch0 -p1
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tutorial
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cherrypy.git/commitdiff/61fbf124a7f01d6bbc3ecab62d332bc64f30ea68



More information about the pld-cvs-commit mailing list