Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pkginfo for openSUSE:Factory checked in at 2025-07-21 19:59:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pkginfo (Old) and /work/SRC/openSUSE:Factory/.python-pkginfo.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pkginfo" Mon Jul 21 19:59:06 2025 rev:15 rq:1294494 version:1.12.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pkginfo/python-pkginfo.changes 2025-02-26 17:14:41.181575202 +0100 +++ /work/SRC/openSUSE:Factory/.python-pkginfo.new.8875/python-pkginfo.changes 2025-07-21 19:59:27.464981992 +0200 @@ -1,0 +2,5 @@ +Sat Jul 19 07:28:46 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pkginfo.spec ++++++ --- /var/tmp/diff_new_pack.7G2eZ7/_old 2025-07-21 19:59:28.049006296 +0200 +++ /var/tmp/diff_new_pack.7G2eZ7/_new 2025-07-21 19:59:28.053006462 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-pkginfo Version: 1.12.1.2 @@ -29,11 +30,11 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-setuptools -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} @@ -65,11 +66,8 @@ sed -iE "s/_make_installed('wheel')/_make_installed('wheel', metadata_version='2.3')/" pkginfo/tests/test_installed.py %pytest -%post -%python_install_alternative pkginfo - -%postun -%python_uninstall_alternative pkginfo +%pre +%python_libalternatives_reset_alternative pkginfo %files %{python_files} %license LICENSE.txt