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

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


commit c7a6fcc6cfd4b49aa381360e87252a72ad807439
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-cliapp.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-cliapp.spec b/python-cliapp.spec
index 5b02d05..53147fc 100644
--- a/python-cliapp.spec
+++ b/python-cliapp.spec
@@ -43,17 +43,14 @@ rm -rf build
 %{__make} check
 %endif
 
-%{__python} setup.py build
+%py_build
 
 # Build documentation
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 # don't package internal tests
 %{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/cliapp/*_tests.py*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cliapp.git/commitdiff/c7a6fcc6cfd4b49aa381360e87252a72ad807439



More information about the pld-cvs-commit mailing list