From e3df484e28a6447c7ee5d4ba8dfb05a9c3c7a1de1c3d60b4ef30ec13ee01ccf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 14 Jun 2023 06:21:09 +0000 Subject: [PATCH] Accepting request 1092881 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1092881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylama?expand=0&rev=21 --- python-pylama.changes | 5 +++++ python-pylama.spec | 3 +++ 2 files changed, 8 insertions(+) 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