From 2faf629c03b0d672d9f3a4cd114b3c06ac53ee770f332d82fdbf7ee33c1385c4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 1 Jul 2023 09:38:24 +0000 Subject: [PATCH] Accepting request 1096266 from home:gladiac:mailman - Fix requirement for mailman3 and python modules OBS-URL: https://build.opensuse.org/request/show/1096266 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman-hyperkitty?expand=0&rev=18 --- python-mailman-hyperkitty.changes | 5 +++++ python-mailman-hyperkitty.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-mailman-hyperkitty.changes b/python-mailman-hyperkitty.changes index f6b2e8a..7536dc7 100644 --- a/python-mailman-hyperkitty.changes +++ b/python-mailman-hyperkitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 1 09:32:57 UTC 2023 - Andreas Schneider + +- Fix requirement for mailman3 and python modules + ------------------------------------------------------------------- Mon Jun 26 20:31:18 UTC 2023 - Andreas Schneider diff --git a/python-mailman-hyperkitty.spec b/python-mailman-hyperkitty.spec index 14a6aac..b2d1632 100644 --- a/python-mailman-hyperkitty.spec +++ b/python-mailman-hyperkitty.spec @@ -19,9 +19,11 @@ %if 0%{?suse_version} >= 1550 # Newest python supported by mailman is Python 3.9 -- https://gitlab.com/mailman/mailman/-/issues/936 %define pythons python311 +%define mypython python311 %else %{?sle15_python_module_pythons} %define pythons python311 +%define mypython python311 %endif Name: python-mailman-hyperkitty Version: 1.2.1 @@ -35,10 +37,10 @@ Patch0: python-mailman-hyperkitty-fix-archiver-test.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-mailman -Requires: python-requests -Requires: python-setuptools -Requires: python-zope.interface +Requires: %{mypython}-requests +Requires: %{mypython}-setuptools +Requires: %{mypython}-zope.interface +Requires: mailman3 >= 3.3.5 BuildArch: noarch # SECTION test requirements BuildRequires: mailman3 >= 3.3.5