commit 0fb116730193aa20770a47a302f89b8c61cb91bf
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-numpy-compat.spec | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/python-numpy-compat.spec b/python-numpy-compat.spec
index 57354ee..2293736 100644
--- a/python-numpy-compat.spec
+++ b/python-numpy-compat.spec
@@ -195,19 +195,18 @@ CC="%{__cc}"; export CC
 CFLAGS="%{rpmcflags}"; export CFLAGS
 
 %if %{with python2}
-%{__python} setup.py build
+%py_build
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build
+%py3_build
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py install \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
@@ -221,8 +220,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%{__python3} setup.py install \
-       --root=$RPM_BUILD_ROOT
+%py3_install
 
 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir}
 %py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-numpy-compat.git/commitdiff/0fb116730193aa20770a47a302f89b8c61cb91bf

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to