File project.diff of Package python-mysqlclient
--- python-mysqlclient.changes.orig
+++ python-mysqlclient.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Sep 24 09:31:18 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
+
+- disable testing for Leaps
+ mariadb-rpm-macros not available or not sufficient
+
+-------------------------------------------------------------------
Thu Jun 4 07:18:37 UTC 2020 - pgajdos@suse.com
- do mysql shutdown even if testsuite fails, exit 1 afterwards
--- python-mysqlclient.spec.orig
+++ python-mysqlclient.spec
@@ -21,8 +21,13 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
+# mariadb-rpm-macros is either not available or not sufficient for Leaps
+%if 0%{?suse_version} > 1500
%bcond_without test
%else
+ExclusiveArch: do_not_build
+%endif
+%else
%define psuffix %{nil}
%bcond_with test
%endif