[packages/python-mysql-connector] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:31:57 CET 2015
commit 0d49b37dcb42ab8643d9c34aa7760072b98898c1
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-mysql-connector.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-mysql-connector.spec b/python-mysql-connector.spec
index 239039d..f7acc3f 100644
--- a/python-mysql-connector.spec
+++ b/python-mysql-connector.spec
@@ -48,11 +48,11 @@ driver. An interface to the popular MySQL database server for Python.
%patch0 -p1
%build
-%{__python} setup.py build
+%py_build
%{?with_tests:%{__python} setup.py test}
%if %{with python3}
-%{__python3} setup.py build -b build-3
+%py3_build
%{?with_tests:%{__python3} setup.py test}
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mysql-connector.git/commitdiff/0d49b37dcb42ab8643d9c34aa7760072b98898c1
More information about the pld-cvs-commit
mailing list