diff --git a/python-pylama.changes b/python-pylama.changes index b0a5c7f..f08aabe 100644 --- a/python-pylama.changes +++ b/python-pylama.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 13 08:57:13 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Thu May 11 20:00:18 UTC 2023 - Ben Greiner diff --git a/python-pylama.spec b/python-pylama.spec index 073f6f7..7e6230a 100644 --- a/python-pylama.spec +++ b/python-pylama.spec @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} Name: python-pylama Version: 8.4.1 Release: 0 @@ -34,7 +35,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: git-core +%if 0%{?suse_version} > 1500 BuildRequires: mypy +%endif BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun):update-alternatives