From: Jacek Konieczny Date: Sat, 28 Nov 2015 17:06:43 +0000 (+0100) Subject: automatic change: use py_build/py_install macros X-Git-Tag: auto/th/python-mysql-connector-2.1.3-3~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=0d49b37dcb42ab8643d9c34aa7760072b98898c1;p=packages%2Fpython-mysql-connector.git automatic change: use py_build/py_install macros --- 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