[packages/apport] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:22:30 CET 2015


commit f7a1cad09bb376ea925343834c0292d2b8a535b8
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 apport.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/apport.spec b/apport.spec
index 3ffdde1..853ecc4 100644
--- a/apport.spec
+++ b/apport.spec
@@ -105,7 +105,7 @@ cp %{SOURCE2} apport/packaging_pld.py
 ln -s packaging_pld.py apport/packaging_impl.py
 
 %build
-python setup.py build
+%py_build
 %{__make} -C po
 %{__make} -C gtk
 %{__make} -C qt4
@@ -114,9 +114,7 @@ python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apport.git/commitdiff/f7a1cad09bb376ea925343834c0292d2b8a535b8



More information about the pld-cvs-commit mailing list