diff --git a/Paste-3.10.1.tar.gz b/Paste-3.10.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f036b0912f334955b7316ee66b802d8e04cc6428 Binary files /dev/null and b/Paste-3.10.1.tar.gz differ diff --git a/Paste-3.7.1.tar.gz b/Paste-3.7.1.tar.gz deleted file mode 100644 index a5342f2cbce72208e74b866b866afad8d6ed45aa..0000000000000000000000000000000000000000 Binary files a/Paste-3.7.1.tar.gz and /dev/null differ 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/python-paste.spec b/python-paste.spec index 69dbd91bc3ae327bc18422490359f506e6744b88..67441cb307d5f049b6f9c357d0e472a0bd6e27f9 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://github.com/pasteorg/paste/archive/%{version}/Paste-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita -Patch0001: backport-python3-socke-use-SocketIO.patch +BuildRequires: python3-pyOpenSSL python3-setuptools python3-six %description Paste provides several pieces of "middleware" (or filters) that can be nested @@ -24,7 +23,7 @@ Summary: Tools for using a Web Server Gateway Interface stack %{?python_provide:%python_provide python3-paste} Requires: python3-pyOpenSSL python3-setuptools -Requires: python3-six python3-tempita +Requires: python3-six %description -n python3-paste Paste provides several pieces of "middleware" (or filters) that can be nested @@ -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 +* Thu Mar 6 2025 zhangpan - 3.10.1-1 +- update to 3.10.1 + * Tue May 7 2024 tenglei - 3.7.1-2 - python3 socke use SocketIO