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-08-14 11:36:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-py-cpuinfo (Old) and /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py-cpuinfo" Thu Aug 14 11:36:08 2025 rev:12 rq:1299209 version:9.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-py-cpuinfo/python-py-cpuinfo.changes 2025-06-11 16:20:40.657834912 +0200 +++ /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new.1085/python-py-cpuinfo.changes 2025-08-14 11:36:16.003940182 +0200 @@ -1,0 +2,5 @@ +Wed Aug 13 09:53:29 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives on SLE-16-based and newer systems only + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py-cpuinfo.spec ++++++ --- /var/tmp/diff_new_pack.mWVLs2/_old 2025-08-14 11:36:16.623966088 +0200 +++ /var/tmp/diff_new_pack.mWVLs2/_new 2025-08-14 11:36:16.623966088 +0200 @@ -17,7 +17,11 @@ %bcond_without tests +%if 0%{?suse_version} > 1500 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-py-cpuinfo Version: 9.0.0 @@ -30,10 +34,15 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with libalternatives} +BuildRequires: alts Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif BuildArch: noarch %python_subpackages @@ -77,6 +86,12 @@ %pre %python_libalternatives_reset_alternative cpuinfo +%post +%python_install_alternative cpuinfo + +%postun +%python_uninstall_alternative cpuinfo + %files %{python_files} %license LICENSE %doc README.rst ChangeLog