From 0d49b37dcb42ab8643d9c34aa7760072b98898c1 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:06:43 +0100 Subject: [PATCH] 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 -- 2.44.0