Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-moban for openSUSE:Factory checked in at 2025-06-10 09:07:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-moban (Old) and /work/SRC/openSUSE:Factory/.python-moban.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-moban" Tue Jun 10 09:07:57 2025 rev:10 rq:1284183 version:0.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-moban/python-moban.changes 2025-06-02 22:01:21.839220368 +0200 +++ /work/SRC/openSUSE:Factory/.python-moban.new.19631/python-moban.changes 2025-06-10 09:10:15.871785121 +0200 @@ -1,0 +2,5 @@ +Mon Jun 9 12:40:57 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-moban.spec ++++++ --- /var/tmp/diff_new_pack.8dkgl5/_old 2025-06-10 09:10:16.439808609 +0200 +++ /var/tmp/diff_new_pack.8dkgl5/_new 2025-06-10 09:10:16.439808609 +0200 @@ -26,6 +26,7 @@ %define pkg_suffix %{nil} %bcond_with test %endif +%bcond_without libalternatives Name: python-moban%{pkg_suffix} Version: 0.8.2 Release: 0 @@ -40,9 +41,11 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: git-core BuildRequires: python-rpm-macros +Requires: alts Requires: git-core Requires: python-Jinja2 >= 2.7.1 Requires: python-appdirs >= 1.4.3 @@ -51,8 +54,6 @@ Requires: python-jinja2-fsloader >= 0.2.0 Requires: python-lml >= 0.0.9 Requires: python-ruamel.yaml >= 0.15.98 -Requires(post): alts -Requires(postun): alts Suggests: python-ansible Suggests: python-gitfs2 Suggests: python-pypifs @@ -123,13 +124,11 @@ %endif %if !%{with test} -%post -%python_install_alternative moban %endif %if !%{with test} -%postun -%python_uninstall_alternative moban +%pre +%python_libalternatives_reset_alternative moban %endif %if !%{with test}