Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py-cpuinfo for openSUSE:Factory checked in at 2025-06-11 16:20:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-py-cpuinfo (Old) and /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py-cpuinfo" Wed Jun 11 16:20:05 2025 rev:11 rq:1284238 version:9.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-py-cpuinfo/python-py-cpuinfo.changes 2025-06-04 20:27:06.473389677 +0200 +++ /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new.19631/python-py-cpuinfo.changes 2025-06-11 16:20:40.657834912 +0200 @@ -1,0 +2,5 @@ +Mon Jun 9 15:08:49 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py-cpuinfo.spec ++++++ --- /var/tmp/diff_new_pack.OYKwck/_old 2025-06-11 16:20:41.305861921 +0200 +++ /var/tmp/diff_new_pack.OYKwck/_new 2025-06-11 16:20:41.309862088 +0200 @@ -17,6 +17,7 @@ %bcond_without tests +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-py-cpuinfo Version: 9.0.0 @@ -29,10 +30,10 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires(post): alts -Requires(postun): alts +Requires: alts BuildArch: noarch %python_subpackages @@ -73,11 +74,8 @@ %python_exec test_suite.py %endif -%post -%python_install_alternative cpuinfo - -%postun -%python_uninstall_alternative cpuinfo +%pre +%python_libalternatives_reset_alternative cpuinfo %files %{python_files} %license LICENSE