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

- restrict to primary python3 flavor due to mailman

OBS-URL: https://build.opensuse.org/request/show/890328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman-hyperkitty?expand=0&rev=7
This commit is contained in:
2021-05-04 18:32:44 +00:00
committed by Git OBS Bridge
parent 998a1ba2f3
commit 1d69928ee4
2 changed files with 14 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 4 09:36:18 UTC 2021 - Ben Greiner <code@bnavigator.de>
- restrict to primary python3 flavor due to mailman
-------------------------------------------------------------------
Mon Dec 2 10:47:15 UTC 2019 - pgajdos@suse.com

View File

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