From 19ca1726269683752333c8ddaf13669e284a5cb4 Mon Sep 17 00:00:00 2001 From: kkz Date: Wed, 2 Mar 2022 18:08:23 +0800 Subject: [PATCH 1/2] remove unnecessary buildrequirement --- python-webob.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-webob.spec b/python-webob.spec index 6ec0012..7207233 100644 --- a/python-webob.spec +++ b/python-webob.spec @@ -1,13 +1,13 @@ Name: python-webob Version: 1.8.7 -Release: 1 +Release: 2 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 BuildArch: noarch -BuildRequires: python3-devel, python3-setuptools, python3-nose, python3-pytest +BuildRequires: python3-devel, python3-pytest %description WebOb provides wrappers around the WSGI request environment, @@ -50,6 +50,9 @@ py.test-3 tests %{python3_sitelib}/* %changelog +* Wed Mar 02 2022 zhaoshuang - 1.8.7-2 +- remove some unnecessary buildrequirements + * Thu Aug 05 2021 liusheng - 1.8.7-1 - Upgrade to version 1.8.7 From 76f79f60f3137366b88b82b6a01af8f273000a5c Mon Sep 17 00:00:00 2001 From: kkz Date: Wed, 2 Mar 2022 18:33:04 +0800 Subject: [PATCH 2/2] add a patch --- Adapt_py310.patch | 25 +++++++++++++++++++++++++ python-webob.spec | 1 + 2 files changed, 26 insertions(+) create mode 100644 Adapt_py310.patch diff --git a/Adapt_py310.patch b/Adapt_py310.patch new file mode 100644 index 0000000..6b81cf1 --- /dev/null +++ b/Adapt_py310.patch @@ -0,0 +1,25 @@ +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/python-webob.spec b/python-webob.spec index 7207233..33c9f85 100644 --- a/python-webob.spec +++ b/python-webob.spec @@ -5,6 +5,7 @@ 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 BuildArch: noarch BuildRequires: python3-devel, python3-pytest