From 8508325f7116edc44f786e1da2adb4997f01e57d70bcd83dd2be807164d22222 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 4 Jul 2022 18:09:08 +0000 Subject: [PATCH] Accepting request 986656 from home:bnavigator:branches:devel:languages:python:mailman - Enable multiflavor so that we can pin mailman3 itself to python39 OBS-URL: https://build.opensuse.org/request/show/986656 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailmanclient?expand=0&rev=24 --- python-mailmanclient.changes | 5 +++++ python-mailmanclient.spec | 11 +++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/python-mailmanclient.changes b/python-mailmanclient.changes index 6dc1ab4..12f103e 100644 --- a/python-mailmanclient.changes +++ b/python-mailmanclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 4 10:44:31 UTC 2022 - Ben Greiner + +- Enable multiflavor so that we can pin mailman3 itself to python39 + ------------------------------------------------------------------- Thu Jun 9 08:48:24 UTC 2022 - Andreas Schneider diff --git a/python-mailmanclient.spec b/python-mailmanclient.spec index d883ec3..2a283e4 100644 --- a/python-mailmanclient.spec +++ b/python-mailmanclient.spec @@ -17,8 +17,7 @@ %{?!python_module:%define python_module() python3-%{**}} -# mailman is built only for primary python3 flavor -%define pythons python3 +%define skip_python2 1 Name: python-mailmanclient Version: 3.3.3 Release: 0 @@ -50,11 +49,6 @@ BuildRequires: %{python_module pytest-vcr} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} # /SECTION -%if 0%{python3_version_nodots} == 38 -# help in replacing any previously installed multiflavor package back to the primary python3 package -Provides: python38-mailmanclient = %{version}-%{release} -Obsoletes: python38-mailmanclient < %{version}-%{release} -%endif %python_subpackages %description @@ -83,6 +77,7 @@ export LC_ALL=C.UTF-8 %files %{python_files} %doc README.rst %license COPYING.LESSER -%{python_sitelib}/* +%{python_sitelib}/mailmanclient +%{python_sitelib}/mailmanclient-%{version}*-info %changelog