[packages/python-Cython] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:08:25 CET 2015
commit b0c5c878b179df8e463e5691908904c73a307b51
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:41 2015 +0100
automatic change: use py_build/py_install macros
python-Cython.spec | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-Cython.spec b/python-Cython.spec
index 0b51636..877f0f6 100644
--- a/python-Cython.spec
+++ b/python-Cython.spec
@@ -84,16 +84,12 @@ Pakiet zawierający przykładowe programy napisane w języku Cython.
%build
%if %{with python2}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build \
+%py_build \
--build-base build-2
%endif
%if %{with python3}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python3} setup.py build \
+%py3_build \
--build-base build-3
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Cython.git/commitdiff/b0c5c878b179df8e463e5691908904c73a307b51
More information about the pld-cvs-commit
mailing list