Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pypi-attestations for
openSUSE:Factory checked in at 2026-04-28 11:55:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pypi-attestations (Old)
and /work/SRC/openSUSE:Factory/.python-pypi-attestations.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pypi-attestations"
Tue Apr 28 11:55:29 2026 rev:3 rq:1349420 version:0.0.29
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pypi-attestations/python-pypi-attestations.changes
2026-03-05 17:32:09.440957920 +0100
+++
/work/SRC/openSUSE:Factory/.python-pypi-attestations.new.11940/python-pypi-attestations.changes
2026-04-28 11:59:28.821249406 +0200
@@ -1,0 +2,5 @@
+Sun Apr 26 19:14:20 UTC 2026 - Dirk Müller <[email protected]>
+
+- reset alternative for TW
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pypi-attestations.spec ++++++
--- /var/tmp/diff_new_pack.NN87y5/_old 2026-04-28 11:59:29.381272517 +0200
+++ /var/tmp/diff_new_pack.NN87y5/_new 2026-04-28 11:59:29.385272682 +0200
@@ -16,6 +16,12 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
%define upname pypi_attestations
Name: python-pypi-attestations
Version: 0.0.29
@@ -65,6 +71,13 @@
Suggests: python-pypi-attestations
Suggests: python-build
BuildArch: noarch
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
%python_subpackages
%description
@@ -84,6 +97,9 @@
%check
%pytest
+%pre
+%python_reset_alternative pypi-attestations
+
%post
%python_install_alternative pypi-attestations