diff --git a/backport-python3-socke-use-SocketIO.patch b/backport-python3-socke-use-SocketIO.patch deleted file mode 100644 index eea02498bd0b33ab1030f94d9c2cc9bb99bc18fe..0000000000000000000000000000000000000000 --- a/backport-python3-socke-use-SocketIO.patch +++ /dev/null @@ -1,25 +0,0 @@ -From commit ID:449855bda4c78f3e594f54736fc781fab87c1910 Mon Sep 17 00:00:00 2001 -From:commit ref commiter:huiwen -Date: Wed, 8 May 2024 19:48:50 +0800 -Subject: [PATCH] fix of broken Python 2 code - ---- - paste/httpserver.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/paste/httpserver.py b/paste/httpserver.py -index 8023bfd..b040ad4 100755 ---- a/paste/httpserver.py -+++ b/paste/httpserver.py -@@ -353,7 +353,7 @@ else: - def __init__(self, conn): - self.__conn = conn - def makefile(self, mode, bufsize): -- return socket._fileobject(self.__conn, mode, bufsize) -+ return socket.SocketIO(self.__conn, mode) - def __getattr__(self, attrib): - return getattr(self.__conn, attrib) - --- -2.43.0 - diff --git a/Paste-3.7.1.tar.gz b/paste-3.10.1.tar.gz similarity index 31% rename from Paste-3.7.1.tar.gz rename to paste-3.10.1.tar.gz index a5342f2cbce72208e74b866b866afad8d6ed45aa..60b6b1ba0bdc1b16cc8e34b6fbd06718d05cee8a 100644 Binary files a/Paste-3.7.1.tar.gz and b/paste-3.10.1.tar.gz differ diff --git a/python-paste.spec b/python-paste.spec index 69dbd91bc3ae327bc18422490359f506e6744b88..748387a83d63a33ede2ae522e6cfe043d78a1400 100644 --- a/python-paste.spec +++ b/python-paste.spec @@ -1,17 +1,16 @@ Name: python-paste -Version: 3.7.1 -Release: 2 +Version: 3.10.1 +Release: 1 Summary: Tools for using a Web Server Gateway Interface stack License: MIT and ZPLv2.0 and Python and (AFL-2.1 or MIT) and (MIT or ASL 2.0) URL: https://pythonpaste.readthedocs.io/en/latest/ -Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/d7/1c/6bc9040bf9b4cfc9334f66d2738f952384c106c48882adf6097fed3da966/paste-3.10.1.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita -Patch0001: backport-python3-socke-use-SocketIO.patch %description Paste provides several pieces of "middleware" (or filters) that can be nested @@ -23,7 +22,7 @@ Summary: Tools for using a Web Server Gateway Interface stack %{?python_provide:%python_provide python3-paste} -Requires: python3-pyOpenSSL python3-setuptools +Requires: python3-pyOpenSSL python3-setuptools Requires: python3-six python3-tempita %description -n python3-paste @@ -34,7 +33,7 @@ interface, and should be compatible with other middleware based on those interfa %package_help %prep -%autosetup -n Paste-%{version} -p1 +%autosetup -n paste-%{version} -p1 find . -name "*.orig" -delete %{__sed} -i -e '/^#!.*/,1 d' paste/util/scgiserver.py paste/debug/doctest_webapp.py @@ -65,6 +64,9 @@ popd %doc docs/* %changelog +* Fri May 10 2024 wangxiaomeng - 3.10.1-1 +- update to 3.10.1 + * Tue May 7 2024 tenglei - 3.7.1-2 - python3 socke use SocketIO