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

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


commit 2a63d18c22ac1a8408e19b55d166bd4ca7afe3ae
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-decompyle.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-decompyle.spec b/python-decompyle.spec
index b7ab38c..24f4113 100644
--- a/python-decompyle.spec
+++ b/python-decompyle.spec
@@ -24,14 +24,12 @@ Verification of the produced code (re-compiled) is avaliable as well.
 %patch0 -p1
 
 %build
-%{__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-decompyle.git/commitdiff/2a63d18c22ac1a8408e19b55d166bd4ca7afe3ae



More information about the pld-cvs-commit mailing list