Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dill for openSUSE:Factory checked in at 2025-07-09 17:27:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dill (Old) and /work/SRC/openSUSE:Factory/.python-dill.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dill" Wed Jul 9 17:27:28 2025 rev:17 rq:1291294 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dill/python-dill.changes 2025-05-05 22:59:18.031796384 +0200 +++ /work/SRC/openSUSE:Factory/.python-dill.new.7373/python-dill.changes 2025-07-09 17:28:08.538883603 +0200 @@ -1,0 +2,5 @@ +Tue Jul 8 13:59:14 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dill.spec ++++++ --- /var/tmp/diff_new_pack.r16L5x/_old 2025-07-09 17:28:09.018903576 +0200 +++ /var/tmp/diff_new_pack.r16L5x/_new 2025-07-09 17:28:09.018903576 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-dill Version: 0.4.0 @@ -30,11 +31,11 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires: alts Recommends: python-objgraph >= 1.7.2 BuildArch: noarch %python_subpackages @@ -65,6 +66,7 @@ %python_clone -a %{buildroot}%{_bindir}/undill %python_clone -a %{buildroot}%{_bindir}/get_gprof %python_clone -a %{buildroot}%{_bindir}/get_objgraph +%python_group_libalternatives undill get_gprof get_objgraph %check export PYTHONDONTWRITEBYTECODE=1 @@ -72,11 +74,8 @@ # Creative; copied from tox.ini %python_exec dill/tests/__main__.py -%post -%{python_install_alternative undill get_objgraph get_gprof} - -%postun -%python_uninstall_alternative undill +%pre +%python_libalternatives_reset_alternative undill %files %{python_files} %doc README.md