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

    automatic change: use py_build/py_install macros

 python-numarray.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-numarray.spec b/python-numarray.spec
index e9c91b9..4f2aa38 100644
--- a/python-numarray.spec
+++ b/python-numarray.spec
@@ -72,16 +72,12 @@ Pliki nagłówkowe dla python-numarray.
 cp %{SOURCE1} .
 
 %build
-CFLAGS="%{rpmcflags}"
-export CFLAGS
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 
 find $RPM_BUILD_ROOT%{py_sitedir} -name '*.py' | \
        grep -v examples | \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-numarray.git/commitdiff/8a8583fd9adae98fa27749374a25733d5a72bddc

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

Reply via email to