Hello community, here is the log from the commit of package python-PyMySQL for openSUSE:Factory checked in at 2020-09-29 19:02:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyMySQL (Old) and /work/SRC/openSUSE:Factory/.python-PyMySQL.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyMySQL" Tue Sep 29 19:02:51 2020 rev:14 rq:838337 version:0.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyMySQL/python-PyMySQL.changes 2020-09-16 19:40:42.122891178 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMySQL.new.4249/python-PyMySQL.changes 2020-09-29 19:03:01.033861959 +0200 @@ -1,0 +2,6 @@ +Wed Sep 23 13:18:38 UTC 2020 - Hans-Peter Jansen <[email protected]> + +- disable testing for Leaps + mariadb-rpm-macros not available or not sufficient + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyMySQL.spec ++++++ --- /var/tmp/diff_new_pack.KBmUlg/_old 2020-09-29 19:03:01.645862702 +0200 +++ /var/tmp/diff_new_pack.KBmUlg/_new 2020-09-29 19:03:01.649862707 +0200 @@ -16,6 +16,13 @@ # +# mariadb-rpm-macros is either not available or not sufficient for Leaps +%if 0%{?suse_version} > 1500 +%bcond_without tests +%else +%bcond_with tests +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyMySQL Version: 0.10.0 @@ -28,7 +35,9 @@ BuildRequires: %{python_module cryptography} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +%if %{with tests} BuildRequires: mariadb-rpm-macros +%endif # will be removed with next release BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -58,6 +67,7 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check exit_code=0 dbuser='db_user' @@ -90,6 +100,7 @@ # %mysql_testserver_stop exit $exit_code +%endif %files %{python_files} %license LICENSE
