Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jsondiff for openSUSE:Factory checked in at 2025-07-10 22:14:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jsondiff (Old) and /work/SRC/openSUSE:Factory/.python-jsondiff.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsondiff" Thu Jul 10 22:14:08 2025 rev:13 rq:1291722 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jsondiff/python-jsondiff.changes 2024-10-10 22:15:10.451500425 +0200 +++ /work/SRC/openSUSE:Factory/.python-jsondiff.new.7373/python-jsondiff.changes 2025-07-10 22:14:16.497021702 +0200 @@ -1,0 +2,5 @@ +Thu Jul 10 14:29:55 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jsondiff.spec ++++++ --- /var/tmp/diff_new_pack.kP9ohz/_old 2025-07-10 22:14:17.069045492 +0200 +++ /var/tmp/diff_new_pack.kP9ohz/_new 2025-07-10 22:14:17.073045659 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jsondiff # -# 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-jsondiff Version: 2.2.1 @@ -31,11 +32,11 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-PyYAML -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -56,11 +57,8 @@ %check %pytest -%post -%python_install_alternative jdiff - -%postun -%python_uninstall_alternative jdiff +%pre +%python_libalternatives_reset_alternative jdiff %files %{python_files} %license LICENSE