Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-confusable-homoglyphs for
openSUSE:Factory checked in at 2025-07-09 17:27:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-confusable-homoglyphs (Old)
and /work/SRC/openSUSE:Factory/.python-confusable-homoglyphs.new.7373
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-confusable-homoglyphs"
Wed Jul 9 17:27:16 2025 rev:9 rq:1291264 version:3.3.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-confusable-homoglyphs/python-confusable-homoglyphs.changes
2024-09-20 17:12:59.514181248 +0200
+++
/work/SRC/openSUSE:Factory/.python-confusable-homoglyphs.new.7373/python-confusable-homoglyphs.changes
2025-07-09 17:27:57.282415227 +0200
@@ -1,0 +2,5 @@
+Mon Jul 7 09:32:49 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-confusable-homoglyphs.spec ++++++
--- /var/tmp/diff_new_pack.ZluwFx/_old 2025-07-09 17:27:57.934442358 +0200
+++ /var/tmp/diff_new_pack.ZluwFx/_new 2025-07-09 17:27:57.938442524 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-confusable-homoglyphs
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#
+%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-confusable-homoglyphs
Version: 3.3.1
@@ -28,11 +29,11 @@
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: alts
Requires: python-click
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -54,13 +55,12 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+# temporarily disable CLI tests, broken with (exactly) click 8.2.1
https://github.com/pallets/click/issues/2939
+rm tests/test_cli.py
%pyunittest discover -v tests/
-%post
-%python_install_alternative confusable_homoglyphs
-
-%postun
-%python_uninstall_alternative confusable_homoglyphs
+%pre
+%python_libalternatives_reset_alternative confusable_homoglyphs
%files %{python_files}
%doc README.rst