]> git.pld-linux.org Git - packages/python-decompyle.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:42 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:42 +0000 (18:06 +0100)
python-decompyle.spec

index b7ab38c33b170f604ba0e41cc7ca53c15d3db165..24f411336619403a658789107787fc1c5bd64a66 100644 (file)
@@ -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
 
This page took 0.079964 seconds and 4 git commands to generate.