diff --git a/python-web.py.changes b/python-web.py.changes index 0b4b7b0..df38792 100644 --- a/python-web.py.changes +++ b/python-web.py.changes @@ -1,7 +1,12 @@ +------------------------------------------------------------------- +Thu Nov 21 15:54:33 UTC 2024 - Dirk Müller + +- add legacy-cgi for python 3.13 support + ------------------------------------------------------------------- Tue Jan 11 21:13:27 UTC 2022 - Dirk Müller -- add python-rpm-macros +- add python-rpm-macros ------------------------------------------------------------------- Wed Jun 30 10:44:53 UTC 2021 - Matej Cepl @@ -155,7 +160,7 @@ Fri Jun 29 08:23:50 UTC 2012 - cfarrell@suse.com * Added exception for "415 Unsupported Media" (tx JirkaChadima) -- #145 * Added GroupedDropdown to support `` tag (tx jzellman) -- #152 * Fixed failure in embedded interpreter - #87 -* Optimized web.cookies (tx benhoyt) - #148 +* Optimized web.cookies (tx benhoyt) - #148 ------------------------------------------------------------------- Tue Mar 20 10:26:47 UTC 2012 - cfarrell@suse.com diff --git a/python-web.py.spec b/python-web.py.spec index 54e83e7..643bbaf 100644 --- a/python-web.py.spec +++ b/python-web.py.spec @@ -1,7 +1,7 @@ # # spec file for package python-web.py # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,10 +26,14 @@ Summary: web.py: makes web apps License: BSD-3-Clause AND SUSE-Public-Domain URL: https://webpy.org/ Source: https://files.pythonhosted.org/packages/source/w/web.py/web.py-%{version}.tar.gz +BuildRequires: %{python_module legacy-cgi if %python-base >= 3.13} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cheroot +%if %{python_version_nodots} >= 313 +Requires: python-legacy-cgi +%endif BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module cheroot}