Accepting request 890327 from home:bnavigator:branches:devel:languages:python:mailman

- restrict to primary python3 flavor due to mailman

OBS-URL: https://build.opensuse.org/request/show/890327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-django-mailman3?expand=0&rev=13
This commit is contained in:
Matej Cepl 2021-05-04 18:33:44 +00:00 committed by Git OBS Bridge
parent d4ea0b2a59
commit e696baf0f9
2 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 4 09:32:59 UTC 2021 - Ben Greiner <code@bnavigator.de>
- restrict to primary python3 flavor due to mailman
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 3 16:21:17 UTC 2021 - Andreas Schneider <asn@cryptomilk.org> Wed Feb 3 16:21:17 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -16,11 +16,9 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 # mailman is built only for primary python3 flavor
%if 0%{?suse_version} >= 1550 %define pythons python3
%define skip_python36 1
%endif
Name: python-django-mailman3 Name: python-django-mailman3
Version: 1.3.5 Version: 1.3.5
Release: 0 Release: 0
@ -45,6 +43,11 @@ BuildRequires: %{python_module mailmanclient}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
# /SECTION # /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 %python_subpackages
%description %description