Accepting request 890487 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/890487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman-hyperkitty?expand=0&rev=2
This commit is contained in:
2021-05-10 13:38:13 +00:00
committed by Git OBS Bridge
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