- django still needs the cgi module, add legacy-cgi as BR and Requires

Note: this is a hotfix to fix the build failure for Python 3.13.

While it helps, I'm not sure if I added it at the right place/package or if
it should go somewhere else. So if you don't like this hotfix, feel free to
decline (bonus points if you tell me where the fix should go ;-)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=70
This commit is contained in:
2025-03-13 12:56:53 +00:00
committed by Git OBS Bridge
parent bb230f32db
commit ad3c22cae1
2 changed files with 7 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ Source20: README.SUSE.md
#
Patch0: postorius-settings.patch
#
BuildRequires: %{python_module legacy-cgi}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module setuptools}
@@ -109,6 +110,7 @@ Summary: A web user interface for GNU Mailman
Requires: %{mypython}-django-debug-toolbar >= 2.2.0
Requires: %{mypython}-django-mailman3 >= %{django_mailman3_min_version}
Requires: %{mypython}-django-requests-debug-toolbar >= 0.0.3
Requires: %{mypython}-legacy-cgi
Requires: %{mypython}-mailmanclient >= %{mailmanclient_min_version}
Requires: %{mypython}-readme_renderer
Requires: (%{mypython}-Django >= %{django_min_version} with %{mypython}-Django < %{django_max_version})