From eddb2fa83238eb9b443633b0973c274a1ddf60551d4db7c639060602d126fa9f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 3 Aug 2023 16:21:01 +0000 Subject: [PATCH] Accepting request 1102188 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1102188 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-xlib?expand=0&rev=25 --- python-python-xlib.changes | 5 +++++ python-python-xlib.spec | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python-python-xlib.changes b/python-python-xlib.changes index 610a2fc..2189a44 100644 --- a/python-python-xlib.changes +++ b/python-python-xlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 3 14:07:42 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Sun Apr 23 16:27:15 UTC 2023 - Frederic Crozat diff --git a/python-python-xlib.spec b/python-python-xlib.spec index 6ad73f0..0643746 100644 --- a/python-python-xlib.spec +++ b/python-python-xlib.spec @@ -16,12 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%if !0%{?sle_version} || 0%{?sle_version} > 150300 -%define skip_python2 1 -%else -%define oldpython python -%endif %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -31,6 +25,7 @@ %bcond_with test %bcond_with wheel %endif +%{?sle15_python_module_pythons} Name: python-python-xlib%{psuffix} Version: 0.33 Release: 0