From 5591c6e8ad3b2d2d13bb8f84cddbdc8439156a638585e834a4400efb0d335516 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 11 Mar 2024 21:36:28 +0000 Subject: [PATCH] Accepting request 1156611 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1156611 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MiniMock?expand=0&rev=33 --- python-MiniMock.changes | 5 +++++ python-MiniMock.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-MiniMock.changes b/python-MiniMock.changes index 2e6118f..4f006e0 100644 --- a/python-MiniMock.changes +++ b/python-MiniMock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 9 11:08:06 UTC 2024 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Wed Feb 16 23:33:05 UTC 2022 - Matej Cepl diff --git a/python-MiniMock.spec b/python-MiniMock.spec index ebd80ba..6f56651 100644 --- a/python-MiniMock.spec +++ b/python-MiniMock.spec @@ -19,7 +19,7 @@ %define oldpython python %define skip_python2 1 %define modname minimock -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-MiniMock Version: 1.3.0 Release: 0 @@ -32,7 +32,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-tools +BuildRequires: %{python_module tools} BuildArch: noarch %ifpython2 Provides: %{oldpython}-minimock = %{version}