From 86a21d3a9383b0e72faae8220836e34329f8a295 Mon Sep 17 00:00:00 2001 From: Kseniia Nivnia Date: Thu, 9 Apr 2026 11:08:07 +0100 Subject: [PATCH] Bump revision to address packaging issues Resolves: RHEL-157865 Signed-off-by: Kseniia Nivnia --- python-websockets.spec | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/python-websockets.spec b/python-websockets.spec index a71121d..141f3ec 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -2,12 +2,12 @@ Name: python-%{pypi_name} Version: 14.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Implementation of the WebSocket Protocol for Python License: BSD-3-Clause URL: https://github.com/aaugustin/websockets -Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +Source0: %{pypi_source %{pypi_name}} # remove shell=True from experiments/compression/corpus.py Patch0: remove-shell-true.patch @@ -20,7 +20,7 @@ websockets is a library for developing WebSocket servers and clients in Python. It implements RFC 6455 with a focus on correctness and simplicity. It passes the Autobahn Testsuite. -Built on top of Python’s asynchronous I/O support introduced in PEP 3156, it +Built on top of Python's asynchronous I/O support introduced in PEP 3156, it provides an API based on coroutines, making it easy to write highly concurrent applications.} @@ -35,6 +35,20 @@ BuildRequires: python3-devel %prep %autosetup -n %{pypi_name}-%{version} -p1 +# Create setup.cfg to fix package name metadata +cat > setup.cfg < - 14.2-2 +- Bump revision to address packaging issues + Resolves: RHEL-157865 + * Tue Sep 09 2025 Kseniia Nivnia - 14.2-1 - Update to 14.2 and add patch to remove shell=True Resolves: RHEL-113034