From ce68ddfe22182cd64fe7bbe994137d76300ef44fce94d310c6047832a9abf4da Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 May 2021 18:34:13 +0000 Subject: [PATCH] Accepting request 890326 from home:bnavigator:branches:devel:languages:python:mailman - restrict to primary python3 flavor due to mailman OBS-URL: https://build.opensuse.org/request/show/890326 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=36 --- python-HyperKitty.changes | 5 +++++ python-HyperKitty.spec | 13 ++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/python-HyperKitty.changes b/python-HyperKitty.changes index 201da0b..ca560bd 100644 --- a/python-HyperKitty.changes +++ b/python-HyperKitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 4 09:31:59 UTC 2021 - Ben Greiner + +- restrict to primary python3 flavor due to mailman + ------------------------------------------------------------------- Wed Feb 3 12:29:57 UTC 2021 - Andreas Schneider diff --git a/python-HyperKitty.spec b/python-HyperKitty.spec index c711431..93c0e69 100644 --- a/python-HyperKitty.spec +++ b/python-HyperKitty.spec @@ -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