- Add upstream django52.patch to officially support Django 5.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=73
This commit is contained in:
2025-12-18 09:26:05 +00:00
committed by Git OBS Bridge
parent ed76205541
commit 87d7e8a5f8
3 changed files with 38 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-postorius
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%bcond_without testsuite
# keep in sync with setup.py
# keep in sync with pyproject.toml
%global django_mailman3_min_version 1.3.13
%global django_min_version 4.2
%global django_max_version 5.1
%global django_max_version 5.3
%global mailmanclient_min_version 3.3.3
%global srv_www_dir /srv/www
@@ -67,6 +67,8 @@ Source12: postorius.uwsgi
Source20: README.SUSE.md
#
Patch0: postorius-settings.patch
# PATCH-FIX-UPSTREAM https://gitlab.com/mailman/postorius/-/commit/0468ab0329df85b89e6b5d9f7b4d1805f47450c9 feat: Add Python 3.13 and Django 5.2 (LTS) support
Patch1: django52.patch
#
BuildRequires: %{python_module legacy-cgi}
BuildRequires: %{python_module pdm-backend}