Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bottle for openSUSE:Factory checked in at 2025-08-12 17:03:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bottle (Old) and /work/SRC/openSUSE:Factory/.python-bottle.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bottle" Tue Aug 12 17:03:34 2025 rev:33 rq:1298861 version:0.13.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bottle/python-bottle.changes 2025-07-15 16:43:54.639993508 +0200 +++ /work/SRC/openSUSE:Factory/.python-bottle.new.1085/python-bottle.changes 2025-08-12 17:04:34.603265784 +0200 @@ -1,0 +2,5 @@ +Mon Aug 11 14:01:21 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Make the libalternatives transition conditional + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bottle.spec ++++++ --- /var/tmp/diff_new_pack.zhOmYg/_old 2025-08-12 17:04:35.447300956 +0200 +++ /var/tmp/diff_new_pack.zhOmYg/_new 2025-08-12 17:04:35.447300956 +0200 @@ -16,7 +16,11 @@ # +%if 0%{?suse_version} > 1500 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-bottle Version: 0.13.4 @@ -29,10 +33,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 @@ -80,6 +89,13 @@ %python_libalternatives_reset_alternative bottle.py %python_libalternatives_reset_alternative bottle +%post +%python_install_alternative bottle + +%postun +%python_uninstall_alternative bottle.py +%python_uninstall_alternative bottle + %files %{python_files} %license LICENSE %doc README.rst