Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2025-08-26 14:56:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new.30751 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sure" Tue Aug 26 14:56:17 2025 rev:14 rq:1301297 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2024-03-28 13:59:57.581746943 +0100 +++ /work/SRC/openSUSE:Factory/.python-sure.new.30751/python-sure.changes 2025-08-26 14:56:46.625838479 +0200 @@ -1,0 +2,5 @@ +Mon Aug 25 14:05:31 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives on SLE-16-based and newer systems + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sure.spec ++++++ --- /var/tmp/diff_new_pack.Oeyj16/_old 2025-08-26 14:56:47.117858989 +0200 +++ /var/tmp/diff_new_pack.Oeyj16/_new 2025-08-26 14:56:47.121859155 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sure # -# 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-sure Version: 2.0.1 @@ -34,9 +39,14 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.10.0 +BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else Requires(post): update-alternatives Requires(postun): update-alternatives -BuildArch: noarch +%endif %python_subpackages %description @@ -67,6 +77,9 @@ %postun %python_uninstall_alternative sure +%pre +%python_libalternatives_reset_alternative sure + %files %{python_files} %license COPYING %doc README.rst