From d94455f45e2771f2cc266553fc5af406e2d567c9f559783f4082ed7a7ce517c9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 4 Jul 2022 18:09:21 +0000 Subject: [PATCH] Accepting request 986653 from home:bnavigator:branches:devel:languages:python:mailman - Go back to python39 -- highest supported Python by mailman3 OBS-URL: https://build.opensuse.org/request/show/986653 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman-hyperkitty?expand=0&rev=14 --- python-mailman-hyperkitty.changes | 5 +++++ python-mailman-hyperkitty.spec | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/python-mailman-hyperkitty.changes b/python-mailman-hyperkitty.changes index bac685a..7a8f874 100644 --- a/python-mailman-hyperkitty.changes +++ b/python-mailman-hyperkitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 4 11:12:24 UTC 2022 - Ben Greiner + +- Go back to python39 -- highest supported Python by mailman3 + ------------------------------------------------------------------- Thu Jun 9 11:11:24 UTC 2022 - Andreas Schneider diff --git a/python-mailman-hyperkitty.spec b/python-mailman-hyperkitty.spec index fe164c6..f227b12 100644 --- a/python-mailman-hyperkitty.spec +++ b/python-mailman-hyperkitty.spec @@ -16,9 +16,13 @@ # +%if 0%{?suse_version} >= 1550 +# Newest python supported by mailman is Python 3.9 -- https://gitlab.com/mailman/mailman/-/issues/936 +%define pythons python39 +%else %{?!python_module:%define python_module() python3-%{**}} -# mailman is built only for primary python3 flavor %define pythons python3 +%endif Name: python-mailman-hyperkitty Version: 1.2.0 Release: 0 @@ -44,11 +48,6 @@ BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.interface} # /SECTION -%if 0%{python3_version_nodots} == 38 -# help in replacing any previously installed multiflavor package back to the primary python3 package -Provides: python38-mailman-hyperkitty = %{version}-%{release} -Obsoletes: python38-mailman-hyperkitty < %{version}-%{release} -%endif %python_subpackages %description @@ -70,6 +69,7 @@ Mailman archiver plugin for HyperKitty %files %{python_files} %doc README.rst mailman-hyperkitty.cfg %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/mailman_hyperkitty +%{python_sitelib}/mailman_hyperkitty-%{version}*-info %changelog