diff --git a/python-mailman-hyperkitty.changes b/python-mailman-hyperkitty.changes index 24419e7..552fed7 100644 --- a/python-mailman-hyperkitty.changes +++ b/python-mailman-hyperkitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 4 09:36:18 UTC 2021 - Ben Greiner + +- restrict to primary python3 flavor due to mailman + ------------------------------------------------------------------- Mon Dec 2 10:47:15 UTC 2019 - pgajdos@suse.com diff --git a/python-mailman-hyperkitty.spec b/python-mailman-hyperkitty.spec index c0d4726..508f3a0 100644 --- a/python-mailman-hyperkitty.spec +++ b/python-mailman-hyperkitty.spec @@ -1,7 +1,7 @@ # # spec file for package python-mailman-hyperkitty # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?!python_module:%define python_module() python3-%{**}} +# mailman is built only for primary python3 flavor +%define pythons python3 Name: python-mailman-hyperkitty Version: 1.1.0 Release: 0 @@ -43,6 +44,11 @@ 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