From 9fc0938a07af3fd26cbcd1a4c11ab6d3314e71899f1e1cc205d50d6583002806 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Thu, 7 Mar 2024 11:46:14 +0000 Subject: [PATCH] Accepting request 1155878 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 %define skip_python2 1 + Drop support for older Python 3.x versions OBS-URL: https://build.opensuse.org/request/show/1155878 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-antlr4-python3-runtime?expand=0&rev=14 --- python-antlr4-python3-runtime.changes | 9 +++++++++ python-antlr4-python3-runtime.spec | 6 +----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-antlr4-python3-runtime.changes b/python-antlr4-python3-runtime.changes index c24b836..44af591 100644 --- a/python-antlr4-python3-runtime.changes +++ b/python-antlr4-python3-runtime.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Mar 7 11:43:18 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 %define skip_python2 1 + + Drop support for older Python 3.x versions + ------------------------------------------------------------------- Thu Feb 8 09:57:35 UTC 2024 - Adrian Schröter diff --git a/python-antlr4-python3-runtime.spec b/python-antlr4-python3-runtime.spec index 4e34492..29d6b66 100644 --- a/python-antlr4-python3-runtime.spec +++ b/python-antlr4-python3-runtime.spec @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-antlr4-python3-runtime Version: 4.13.1 Release: 0 @@ -34,9 +33,6 @@ BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch -%if %{python3_version_nodots} < 35 -Requires: python-typing -%endif %python_subpackages %description