From cdea982ba8e97f4a94897a965aa460b596a1d7d4e787b9592b9a672b887c8c1a Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Thu, 7 Mar 2024 14:53:24 +0000 Subject: [PATCH] Accepting request 1155990 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-%{**}} OBS-URL: https://build.opensuse.org/request/show/1155990 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fixedint?expand=0&rev=3 --- python-fixedint.changes | 7 +++++++ python-fixedint.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-fixedint.changes b/python-fixedint.changes index c8820a9..fcd68e2 100644 --- a/python-fixedint.changes +++ b/python-fixedint.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Mar 7 14:41:12 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-%{**}} + ------------------------------------------------------------------- Wed Nov 23 10:16:59 UTC 2022 - John Paul Adrian Glaubitz diff --git a/python-fixedint.spec b/python-fixedint.spec index 40410e6..bd660ab 100644 --- a/python-fixedint.spec +++ b/python-fixedint.spec @@ -1,7 +1,7 @@ # # spec file for package python-fixedint # -# Copyright (c) 2022 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 @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-fixedint Version: 0.2.0 Release: 0 @@ -24,9 +24,9 @@ Summary: simple fixed-width integers License: Python-2.0 URL: https://github.com/nneonneo/fixedint Source: https://files.pythonhosted.org/packages/source/f/fixedint/fixedint-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages