Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-certomancer for openSUSE:Factory checked in at 2025-05-12 16:52:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-certomancer (Old) and /work/SRC/openSUSE:Factory/.python-certomancer.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certomancer" Mon May 12 16:52:17 2025 rev:2 rq:1276833 version:0.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-certomancer/python-certomancer.changes 2024-09-17 18:19:17.829741397 +0200 +++ /work/SRC/openSUSE:Factory/.python-certomancer.new.30101/python-certomancer.changes 2025-05-12 16:55:56.646441057 +0200 @@ -1,0 +2,6 @@ +Mon May 12 12:03:26 UTC 2025 - Daniel Garcia <daniel.gar...@suse.com> + +- Use libalternatives instead of update-alternatives +- Skip some failing tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-certomancer.spec ++++++ --- /var/tmp/diff_new_pack.LEa0OH/_old 2025-05-12 16:55:57.346470423 +0200 +++ /var/tmp/diff_new_pack.LEa0OH/_new 2025-05-12 16:55:57.346470423 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-certomancer # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # 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 + Name: python-certomancer Version: 0.12.0 Release: 0 @@ -54,8 +60,13 @@ Suggests: python-pytz >= 2020.1 Suggests: python-freezegun >= 1.1.0 Suggests: python-pyhanko-certvalidator >= 0.23.0 +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else Requires(post): update-alternatives Requires(postun): update-alternatives +%endif BuildArch: noarch %python_subpackages @@ -74,7 +85,13 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# Failing tests +donttest="test_mass_summon_explicit_config or test_mass_summon or test_summon_no_pem or test_summon_der_stdout" +%pytest -k "not ($donttest)" + +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative certomancer %post %python_install_alternative certomancer