Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bashate for openSUSE:Factory checked in at 2025-06-04 20:30:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bashate (Old) and /work/SRC/openSUSE:Factory/.python-bashate.new.16005 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bashate" Wed Jun 4 20:30:17 2025 rev:12 rq:1282837 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bashate/python-bashate.changes 2025-05-14 17:01:16.299403678 +0200 +++ /work/SRC/openSUSE:Factory/.python-bashate.new.16005/python-bashate.changes 2025-06-04 20:30:31.405881597 +0200 @@ -1,0 +2,5 @@ +Wed Jun 4 15:10:04 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com> + +- fix usage of libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bashate.spec ++++++ --- /var/tmp/diff_new_pack.vJmNw5/_old 2025-06-04 20:30:31.833899345 +0200 +++ /var/tmp/diff_new_pack.vJmNw5/_new 2025-06-04 20:30:31.837899511 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-bashate @@ -32,14 +33,14 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testtools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros # OpenStack package: stestr is only available for primary python3, only test on this flavor BuildRequires: python3-stestr +Requires: alts Requires: python-Babel >= 0.9.6 Requires: python-pbr -Requires(post): alts -Requires(postun): alts BuildArch: noarch %ifpython2 Requires: python-argparse @@ -77,11 +78,9 @@ %check python3 -m stestr.cli run -%post -%python_install_alternative bashate - -%postun -%python_uninstall_alternative bashate +%pre +# Removing old update-alternatives entries. +%python_libalternatives_reset_alternative bashate %files %{python_files} %license LICENSE