14
0

7 Commits

Author SHA256 Message Date
0c395cd2ed Accepting request 1301402 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websockify?expand=0&rev=29
2025-08-27 19:33:58 +00:00
39ceb17b6e - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=56
2025-08-26 09:37:51 +00:00
0b9758300e Accepting request 1216939 from devel:languages:python
- update to 0.12.0:
  * The simplejson module is no longer needed for redis token
    support
  * redis tokens can now be either JSON or plain text
  * websockify can now listen to a Unix socket for incoming
    connections
  * Command line now supports disabling directory listings
  * Basic Dockerfile included

- update to 0.5.1:

OBS-URL: https://build.opensuse.org/request/show/1216939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websockify?expand=0&rev=28
2024-10-23 19:08:32 +00:00
27b92ffeb9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=54 2024-10-22 07:50:12 +00:00
010bb01eba OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=53 2024-10-19 12:00:40 +00:00
7eecb9521c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=52 2024-10-19 11:58:19 +00:00
451c4600cd - update to 0.12.0:
* The simplejson module is no longer needed for redis token
    support
  * redis tokens can now be either JSON or plain text
  * websockify can now listen to a Unix socket for incoming
    connections
  * Command line now supports disabling directory listings
  * Basic Dockerfile included
- update to 0.5.1:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=51
2024-10-19 11:52:37 +00:00
2 changed files with 21 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 26 09:33:52 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Sat Oct 19 11:51:49 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-websockify
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,11 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-websockify
Version: 0.12.0
@@ -34,10 +39,15 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
Requires: python-jwcrypto
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
Requires: python-jwcrypto
%endif
%if 0%{?suse_version}
Recommends: python-redis
Recommends: python-requests
@@ -84,6 +94,9 @@ sed -i '1 { /^#!/ d }' websockify/websock*.py
%check
%pytest -k 'not test_asymmetric_jwe_token_plugin'
%pre
%python_libalternatives_reset_alternative websockify
%post
%python_install_alternative websockify