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

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


commit 5bbdd21551cb56dab877fdc7b24fefccbccdd6c9
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-nwdiag.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-nwdiag.spec b/python-nwdiag.spec
index e507e83..a3204b6 100644
--- a/python-nwdiag.spec
+++ b/python-nwdiag.spec
@@ -27,13 +27,11 @@ Features:
 %{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--skip-build \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-nwdiag.git/commitdiff/5bbdd21551cb56dab877fdc7b24fefccbccdd6c9



More information about the pld-cvs-commit mailing list