Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-j2gen for openSUSE:Factory checked in at 2025-06-10 09:07:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-j2gen (Old) and /work/SRC/openSUSE:Factory/.python-j2gen.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-j2gen" Tue Jun 10 09:07:01 2025 rev:6 rq:1284029 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-j2gen/python-j2gen.changes 2025-05-30 17:26:06.997216017 +0200 +++ /work/SRC/openSUSE:Factory/.python-j2gen.new.19631/python-j2gen.changes 2025-06-10 09:09:42.810417978 +0200 @@ -1,0 +2,5 @@ +Mon Jun 9 08:52:50 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-j2gen.spec ++++++ --- /var/tmp/diff_new_pack.UJkclc/_old 2025-06-10 09:09:43.682454039 +0200 +++ /var/tmp/diff_new_pack.UJkclc/_new 2025-06-10 09:09:43.686454204 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives Name: python-j2gen Version: 0.1.0 Release: 0 @@ -28,12 +29,12 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-Jinja2 Requires: python-PyYAML -Requires(post): alts -Requires(postun): alts BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2} @@ -61,11 +62,9 @@ %check %pyunittest discover -v -%post -%python_install_alternative j2gen - -%postun -%python_uninstall_alternative j2gen +%pre +# removing old update-alternatives entries +%python_libalternatives_reset_alternative j2gen %files %{python_files} %doc AUTHORS ChangeLog README.rst