Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dennis for openSUSE:Factory checked in at 2026-04-28 11:55:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dennis (Old) and /work/SRC/openSUSE:Factory/.python-dennis.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dennis" Tue Apr 28 11:55:44 2026 rev:8 rq:1349413 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dennis/python-dennis.changes 2026-02-17 16:49:11.856072320 +0100 +++ /work/SRC/openSUSE:Factory/.python-dennis.new.11940/python-dennis.changes 2026-04-28 11:59:40.361732536 +0200 @@ -1,0 +2,5 @@ +Sun Apr 26 18:47:38 UTC 2026 - Dirk Müller <[email protected]> + +- reset alternatives for TW + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dennis.spec ++++++ --- /var/tmp/diff_new_pack.13ccgd/_old 2026-04-28 11:59:40.857753372 +0200 +++ /var/tmp/diff_new_pack.13ccgd/_new 2026-04-28 11:59:40.861753540 +0200 @@ -16,6 +16,12 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + Name: python-dennis Version: 1.2.0 Release: 0 @@ -36,8 +42,13 @@ BuildRequires: python-rpm-macros Requires: python-click >= 6 Requires: python-polib >= 1.0.8 -Requires(post): alts -Requires(postun): alts +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif BuildArch: noarch %python_subpackages @@ -63,6 +74,9 @@ export LANG="en_US.UTF-8" %pytest tests +%pre +%python_libalternatives_reset_alternative dennis-cmd + %post %python_install_alternative dennis-cmd
