From 027871340fc35374c85838fa786f344a01819cd27e552ebcc9c33612abeae1f3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 6 Mar 2024 13:22:53 +0000 Subject: [PATCH] Accepting request 1155524 from home:glaubitz:branches:devel:languages:python - Switch package to modern Python Stack on SLE-15 + Add %{?sle15_python_module_pythons} + Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}} + Drop build support for Python 2.x OBS-URL: https://build.opensuse.org/request/show/1155524 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus-ext-threading?expand=0&rev=6 --- python-opencensus-ext-threading.changes | 8 ++++++++ python-opencensus-ext-threading.spec | 13 +++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/python-opencensus-ext-threading.changes b/python-opencensus-ext-threading.changes index ac435a4..ed9793b 100644 --- a/python-opencensus-ext-threading.changes +++ b/python-opencensus-ext-threading.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 5 23:05:44 UTC 2024 - John Paul Adrian Glaubitz + +- Switch package to modern Python Stack on SLE-15 + + Add %{?sle15_python_module_pythons} + + Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}} + + Drop build support for Python 2.x + ------------------------------------------------------------------- Thu Jan 21 11:57:26 UTC 2021 - Benjamin Greiner diff --git a/python-opencensus-ext-threading.spec b/python-opencensus-ext-threading.spec index f4a5d7c..1e66d35 100644 --- a/python-opencensus-ext-threading.spec +++ b/python-opencensus-ext-threading.spec @@ -1,7 +1,7 @@ # # spec file for package python-opencensus-ext-threading # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,8 @@ %define repo_version 0.7.12 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 + +%{?sle15_python_module_pythons} Name: python-opencensus-ext-threading Version: 0.1.2 Release: 0 @@ -31,16 +31,9 @@ Patch0: remove-mock.patch BuildRequires: %{python_module opencensus} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -%if %{with python2} -BuildRequires: python-futures -BuildRequires: python-mock -%endif BuildRequires: python-rpm-macros Requires: python-opencensus BuildArch: noarch -%ifpython2 -Requires: python-futures -%endif %python_subpackages %description