Accepting request 986716 from devel:languages:python:mailman

- Go back to python39 -- highest supported Python by mailman3 (forwarded request 986653 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/986716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman-hyperkitty?expand=0&rev=6
This commit is contained in:
2022-07-28 18:57:40 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 4 11:12:24 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Go back to python39 -- highest supported Python by mailman3
-------------------------------------------------------------------
Thu Jun 9 11:11:24 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -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