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

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


commit 6aa2d285e17f80e68c5e49a094b8aa136d85f04c
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-jsonrpc.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-jsonrpc.spec b/python-jsonrpc.spec
index 3ebaa28..c25a5ee 100644
--- a/python-jsonrpc.spec
+++ b/python-jsonrpc.spec
@@ -28,16 +28,12 @@ Pythonie.
 %setup -q -n jsonrpc-0.01
 
 %build
-CFLAGS="%{rpmcflags}"
-export CFLAGS
-%{__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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-jsonrpc.git/commitdiff/6aa2d285e17f80e68c5e49a094b8aa136d85f04c



More information about the pld-cvs-commit mailing list