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

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


commit 826162f959fece854cafd6dffe4ae01a75957a06
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-netifaces.spec | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-netifaces.spec b/python-netifaces.spec
index 829f5a7..36b6148 100644
--- a/python-netifaces.spec
+++ b/python-netifaces.spec
@@ -26,18 +26,13 @@ information from network interfaces.
 %setup -q -n %{module}-%{version}
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-netifaces.git/commitdiff/826162f959fece854cafd6dffe4ae01a75957a06



More information about the pld-cvs-commit mailing list