[packages/uncompyle2] - fix build

arekm arekm at pld-linux.org
Mon Apr 25 22:14:23 CEST 2016


commit 4fe6c0dcaab15eb0432b725c6c9bfc64e3b94d31
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Apr 25 22:14:17 2016 +0200

    - fix build

 uncompyle2.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/uncompyle2.spec b/uncompyle2.spec
index 625ac4a..a621f56 100644
--- a/uncompyle2.spec
+++ b/uncompyle2.spec
@@ -22,15 +22,12 @@ Additionally, it will only run on Python 2.7.
 mv %{name}-*/* .
 
 %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
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uncompyle2.git/commitdiff/4fe6c0dcaab15eb0432b725c6c9bfc64e3b94d31



More information about the pld-cvs-commit mailing list