Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-avro for openSUSE:Factory checked in at 2025-08-26 16:13:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-avro (Old) and /work/SRC/openSUSE:Factory/.python-avro.new.30751 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-avro" Tue Aug 26 16:13:57 2025 rev:18 rq:1301432 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-avro/python-avro.changes 2025-06-17 18:22:16.074420759 +0200 +++ /work/SRC/openSUSE:Factory/.python-avro.new.30751/python-avro.changes 2025-08-26 16:14:10.216130828 +0200 @@ -1,0 +2,5 @@ +Tue Aug 26 12:02:47 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives on SLE-16-based and newer systems only + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-avro.spec ++++++ --- /var/tmp/diff_new_pack.YIOnJx/_old 2025-08-26 16:14:10.768153897 +0200 +++ /var/tmp/diff_new_pack.YIOnJx/_new 2025-08-26 16:14:10.776154231 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-avro # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,11 @@ # +%if 0%{?suse_version} > 1500 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-avro Version: 1.12.0 @@ -29,11 +33,16 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: alts BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -57,6 +66,12 @@ rm avro/test/test_ipc.py %pyunittest discover -v +%post +%python_install_alternative avro + +%postun +%python_uninstall_alternative avro + %pre %python_libalternatives_reset_alternative avro