From 8182d35f4de87e8f3f5691a95f493b1bd28905d7b2084d1fee46c4b9ebc45821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 19 Jun 2023 11:33:29 +0000 Subject: [PATCH] Accepting request 1093666 from devel:languages:python:mailman:backports Move to python 3.11 for 15.5 and TW OBS-URL: https://build.opensuse.org/request/show/1093666 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=80 --- python-mailman.changes | 12 ++++++++++++ python-mailman.spec | 13 +++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/python-mailman.changes b/python-mailman.changes index 1723606..f608fe8 100644 --- a/python-mailman.changes +++ b/python-mailman.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Jun 7 15:40:27 UTC 2023 - Andreas Schneider + +- Move mailman to Python 3.11 on TW and Leap 15.5 + +------------------------------------------------------------------- +Wed Jun 7 14:53:12 UTC 2023 - Andreas Schneider + +- Allow the mailman group to write to the data directory + * This will hold the postfix database for the domains and we need + to be able to write to it as the postfix user (member of mailman group). + ------------------------------------------------------------------- Thu Mar 30 19:40:53 UTC 2023 - Luiz Angelo Daros de Luca diff --git a/python-mailman.spec b/python-mailman.spec index 45d1376..1ecc56f 100644 --- a/python-mailman.spec +++ b/python-mailman.spec @@ -34,11 +34,12 @@ %define psuffix %{nil} %bcond_with test %endif -%if 0%{?suse_version} >= 1550 -# Newest python supported by mailman is Python 3.9 -- https://gitlab.com/mailman/mailman/-/issues/936 -%define pythons python39 -%define mypython python39 -%define mypython_sitelib %{python39_sitelib} +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 +# Newest python supported by mailman is Python 3.11 +# See https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/docs/NEWS.rst +%define pythons python311 +%define mypython python311 +%define mypython_sitelib %{python311_sitelib} %else %{?!python_module:%define python_module() python3-%{**}} %define pythons python3 @@ -276,7 +277,7 @@ done %endif %dir %attr(750,root,mailman) %{_sysconfdir}/%{mailman_name}.d %dir %attr(750,mailman,mailman) %{mailman_homedir} -%dir %attr(750,mailman,mailman) %{mailman_homedir}/data +%dir %attr(770,mailman,mailman) %{mailman_homedir}/data %dir %attr(750,mailman,mailman) %{mailman_spooldir} %dir %attr(750,mailman,mailman) %{mailman_logdir} %ghost %dir %{mailman_rundir}