Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-websockify for 
openSUSE:Factory checked in at 2025-08-27 21:33:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-websockify (Old)
 and      /work/SRC/openSUSE:Factory/.python-websockify.new.30751 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-websockify"

Wed Aug 27 21:33:58 2025 rev:29 rq:1301402 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-websockify/python-websockify.changes      
2024-10-23 21:09:54.405765485 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-websockify.new.30751/python-websockify.changes
   2025-08-27 21:34:39.870645583 +0200
@@ -1,0 +2,5 @@
+Tue Aug 26 09:33:52 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives on SLE-16-based and newer systems
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-websockify.spec ++++++
--- /var/tmp/diff_new_pack.y2hOGa/_old  2025-08-27 21:34:40.406667962 +0200
+++ /var/tmp/diff_new_pack.y2hOGa/_new  2025-08-27 21:34:40.410668129 +0200
@@ -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:  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 @@
 %check
 %pytest -k 'not test_asymmetric_jwe_token_plugin'
 
+%pre
+%python_libalternatives_reset_alternative websockify
+
 %post
 %python_install_alternative websockify
 

Reply via email to