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

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


commit bdad7191b5ea8275cbec08ac6d0f7ea8632bf97c
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-dokuwikixmlrpc.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-dokuwikixmlrpc.spec b/python-dokuwikixmlrpc.spec
index 7b59d2d..b9b34ac 100644
--- a/python-dokuwikixmlrpc.spec
+++ b/python-dokuwikixmlrpc.spec
@@ -24,14 +24,11 @@ instances.
 mv chimeric-dokuwikixmlrpc-*/* .
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-dokuwikixmlrpc.git/commitdiff/bdad7191b5ea8275cbec08ac6d0f7ea8632bf97c



More information about the pld-cvs-commit mailing list