15
0

- update to 0.1.2:

* Fixed incorrect spelling
  * bind on both IPv4 and IPv6 localhost
  * bump TLS version to keep compatibility with chrome

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SimpleWebSocketServer?expand=0&rev=5
This commit is contained in:
2024-11-10 22:17:06 +00:00
committed by Git OBS Bridge
parent 735eb5b6e3
commit 45fc294408
4 changed files with 19 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-SimpleWebSocketServer
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,18 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-SimpleWebSocketServer
Version: 0.1.1
Version: 0.1.2
Release: 0
Summary: A Websocket server written in Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/dpallot/simple-websocket-server/
Source: https://files.pythonhosted.org/packages/source/S/SimpleWebsocketServer/SimpleWebsocketServer-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/S/SimpleWebsocketServer/SimpleWebSocketServer-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -43,10 +45,10 @@ A Websocket Server written in Python
%setup -q -n SimpleWebSocketServer-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}