diff --git a/python-django-mailman3.changes b/python-django-mailman3.changes index f08ff54..2724c3f 100644 --- a/python-django-mailman3.changes +++ b/python-django-mailman3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 4 09:32:59 UTC 2021 - Ben Greiner + +- restrict to primary python3 flavor due to mailman + ------------------------------------------------------------------- Wed Feb 3 16:21:17 UTC 2021 - Andreas Schneider diff --git a/python-django-mailman3.spec b/python-django-mailman3.spec index 9aeb78c..73a86c3 100644 --- a/python-django-mailman3.spec +++ b/python-django-mailman3.spec @@ -16,11 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%if 0%{?suse_version} >= 1550 -%define skip_python36 1 -%endif +%{?!python_module:%define python_module() python3-%{**}} +# mailman is built only for primary python3 flavor +%define pythons python3 Name: python-django-mailman3 Version: 1.3.5 Release: 0 @@ -45,6 +43,11 @@ BuildRequires: %{python_module mailmanclient} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytz} # /SECTION +%if 0%{python3_version_nodots} == 38 +# help in replacing any previously installed multiflavor package back to the primary python3 package +Provides: python38-django-mailman3 = %{version}-%{release} +Obsoletes: python38-django-mailman3 < %{version}-%{release} +%endif %python_subpackages %description