1
0

Accepting request 890489 from devel:languages:python:mailman

- restrict to primary python3 flavor due to mailman (forwarded request 890326 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/890489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=9
This commit is contained in:
2021-05-10 13:38:16 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 5 deletions

View File

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

View File

@@ -31,11 +31,9 @@
%global hyperkitty_services hyperkitty-qcluster.service hyperkitty-runjob-daily.service hyperkitty-runjob-daily.timer hyperkitty-runjob-hourly.service hyperkitty-runjob-hourly.timer hyperkitty-runjob-minutely.service hyperkitty-runjob-minutely.timer hyperkitty-runjob-monthly.service hyperkitty-runjob-monthly.timer hyperkitty-runjob-quarter-hourly.service hyperkitty-runjob-quarter-hourly.timer hyperkitty-runjob-weekly.service hyperkitty-runjob-weekly.timer hyperkitty-runjob-yearly.service hyperkitty-runjob-yearly.timer
%{?!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-HyperKitty
Version: 1.3.4
Release: 0
@@ -107,6 +105,11 @@ BuildRequires: %{python_module python-dateutil >= 2.0}
BuildRequires: %{python_module pytz >= 2012}
BuildRequires: %{python_module robot-detection >= 0.3}
# /SECTION
%if 0%{python3_version_nodots} == 38
# help in replacing any previously installed multiflavor package back to the primary python3 package
Provides: python38-Hyperkitty = %{version}-%{release}
Obsoletes: python38-Hyperkitty < %{version}-%{release}
%endif
%python_subpackages
%description