Accepting request 1093767 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/1093767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2023-06-19 20:50:47 +00:00 committed by Git OBS Bridge
commit 159a4066ab
2 changed files with 19 additions and 6 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jun 7 15:40:27 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
- Move mailman to Python 3.11 on TW and Leap 15.5
-------------------------------------------------------------------
Wed Jun 7 14:53:12 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
- 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 <luizluca@tre-sc.jus.br>

View File

@ -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}