Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-debugpy for openSUSE:Factory checked in at 2026-04-16 18:45:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-debugpy (Old) and /work/SRC/openSUSE:Factory/.python-debugpy.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-debugpy" Thu Apr 16 18:45:25 2026 rev:26 rq:1347143 version:1.8.20 Changes: -------- --- /work/SRC/openSUSE:Factory/python-debugpy/python-debugpy.changes 2026-03-14 22:21:07.005954712 +0100 +++ /work/SRC/openSUSE:Factory/.python-debugpy.new.11940/python-debugpy.changes 2026-04-16 18:47:00.621454283 +0200 @@ -1,0 +2,5 @@ +Wed Apr 15 13:34:02 UTC 2026 - Nico Krapp <[email protected]> + +- fix alternatives usage + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-debugpy.spec ++++++ --- /var/tmp/diff_new_pack.gfDBXq/_old 2026-04-16 18:47:01.289481522 +0200 +++ /var/tmp/diff_new_pack.gfDBXq/_new 2026-04-16 18:47:01.297481848 +0200 @@ -25,6 +25,13 @@ %define psuffix %{nil} %bcond_with test %endif + +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + %{?sle15_python_module_pythons} Name: python-debugpy%{psuffix} Version: 1.8.20 @@ -52,8 +59,13 @@ BuildRequires: %{python_module requests} BuildRequires: gdb %endif -Requires(post): alts -Requires(postun): alts +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -137,6 +149,9 @@ %pytest_arch -k "not ($donttest)" %endif +%pre +%python_libalternatives_reset_alternative debugpy debugpy-adapter + %post %python_install_alternative debugpy debugpy-adapter
