Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-compileall2 for openSUSE:Factory checked in at 2026-04-28 11:55:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-compileall2 (Old) and /work/SRC/openSUSE:Factory/.python-compileall2.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-compileall2" Tue Apr 28 11:55:24 2026 rev:5 rq:1349414 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-compileall2/python-compileall2.changes 2024-04-07 22:13:59.940166971 +0200 +++ /work/SRC/openSUSE:Factory/.python-compileall2.new.11940/python-compileall2.changes 2026-04-28 11:57:36.508586198 +0200 @@ -1,0 +2,5 @@ +Sun Apr 26 18:49:02 UTC 2026 - Dirk Müller <[email protected]> + +- reset alternative for TW + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-compileall2.spec ++++++ --- /var/tmp/diff_new_pack.Do3GJu/_old 2026-04-28 11:57:37.128611965 +0200 +++ /var/tmp/diff_new_pack.Do3GJu/_new 2026-04-28 11:57:37.132612132 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-compileall2 # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 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,6 +16,12 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + %{?sle15_python_module_pythons} Name: python-compileall2 Version: 0.8.0 @@ -32,6 +38,13 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -55,6 +68,9 @@ export LANG=en_US.UTF-8 %pytest -rs test_compileall2.py -k 'not test_hardlink_deduplication_import' +%pre +%python_libalternatives_reset_alternative compileall2 + %post %python_install_alternative compileall2
