diff --git a/Adapt_py310.patch b/Adapt_py310.patch deleted file mode 100644 index 6b81cf173b0e38cf6f2a0cb6a8f5a707035f8f59..0000000000000000000000000000000000000000 --- a/Adapt_py310.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ad952b384b2066d4424af8304444e23e95a2f646 Mon Sep 17 00:00:00 2001 -From: root -Date: Wed, 2 Mar 2022 18:29:39 +0800 -Subject: [PATCH] to_adapt_py310 - ---- - tests/conftest.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/conftest.py b/tests/conftest.py -index ec47c86..174aebf 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -60,7 +60,7 @@ def serve(): - log.debug("shutting server down") - server.shutdown() - worker.join(1) -- if worker.isAlive(): -+ if worker.is_alive(): - log.warning('worker is hanged') - else: - log.debug("server stopped") --- -2.27.0 - diff --git a/WebOb-1.8.7.tar.gz b/WebOb-1.8.7.tar.gz deleted file mode 100644 index d07e2a28c56f171c9a9b261e9bbc14c0510118df..0000000000000000000000000000000000000000 Binary files a/WebOb-1.8.7.tar.gz and /dev/null differ diff --git a/python-webob.spec b/python-webob.spec index 33c9f85ccf298b22e2cb7221a51d5323c7004adf..56b7a7c8251e8a1d8f261f27aad921f3a97db60a 100644 --- a/python-webob.spec +++ b/python-webob.spec @@ -1,11 +1,10 @@ Name: python-webob -Version: 1.8.7 -Release: 2 +Version: 1.8.8 +Release: 1 Summary: WSGI request and response object License: MIT URL: http://pythonpaste.org/webob/ -Source0: https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz -Patch0001: Adapt_py310.patch +SOurce0: https://files.pythonhosted.org/packages/source/w/webob/webob-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel, python3-pytest @@ -30,7 +29,7 @@ much of the specified behavior of HTTP, including header parsing and accessors for other standard parts of the environment. %prep -%autosetup -n WebOb-%{version} -p1 +%autosetup -n webob-%{version} -p1 rm -rf tests/performance_test.py rm -rf docs/_static/.empty mv docs/license.txt license.txt @@ -51,6 +50,12 @@ py.test-3 tests %{python3_sitelib}/* %changelog +* Thu Aug 15 2024 yaoxin - 1.8.8-1 +- Update to 1.8.8: + * Fix CVE-2024-42353: Add fix for open redirect + * s/isAlive/is_alive/ + * Support for Python 2.7 requires an old version of virtualenv + * Wed Mar 02 2022 zhaoshuang - 1.8.7-2 - remove some unnecessary buildrequirements diff --git a/webob-1.8.8.tar.gz b/webob-1.8.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..aacc5f77d20528ca3693f67122cc3c33507adbb4 Binary files /dev/null and b/webob-1.8.8.tar.gz differ