Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-ptrace for
openSUSE:Factory checked in at 2026-10-20 12:38:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-ptrace (Old)
and /work/SRC/openSUSE:Factory/.python-python-ptrace.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-ptrace"
Tue Oct 20 12:38:30 2026 rev:10 rq:1386166 version:0.9.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-ptrace/python-python-ptrace.changes
2025-12-11 18:40:56.196452671 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-ptrace.new.3698736/python-python-ptrace.changes
2026-10-20 12:39:27.307334071 +0200
@@ -1,0 +2,8 @@
+Fri Oct 16 11:54:30 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Only require update-alternatives in the default flavour: the
+ cptrace packages have no %post/%postun scriptlets and install
+ no alternatives, so the scriptlet requirements were unused
+ there; verified against the built RPM metadata
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-ptrace.spec ++++++
--- /var/tmp/diff_new_pack.gjqQn8/_old 2026-10-20 12:39:28.102367344 +0200
+++ /var/tmp/diff_new_pack.gjqQn8/_new 2026-10-20 12:39:28.104367428 +0200
@@ -33,9 +33,8 @@
%define pkgname python-ptrace-test
%define pkgversion %{pyversion}+%{cversion}
%bcond_without test
-ExcludeArch: %arm
+ExcludeArch: %{arm}
%endif
-
Name: python-%{pkgname}
Version: %{pkgversion}
Release: 0
@@ -45,19 +44,21 @@
Source:
https://github.com/haypo/python-ptrace/archive/%{pyversion}.tar.gz#/python-ptrace-%{pyversion}.tar.gz
# PATCH-FIX-UPSTREAM gh#vstinner/python-ptrace#91
Patch0: support-python314.patch
-%if "%{flavor}" == "cptrace"
-BuildRequires: %{python_module devel}
-%else
-BuildArch: noarch
-Recommends: python-cptrace = %{cversion}
-%endif
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%if "%{flavor}" == "cptrace"
+BuildRequires: %{python_module devel}
+%else
+Recommends: python-cptrace = %{cversion}
+BuildArch: noarch
+%endif
+%if "%{flavor}" == ""
Requires(post): update-alternatives
Requires(postun): update-alternatives
+%endif
%if %{with test}
BuildRequires: %{python_module cptrace = %{cversion}}
BuildRequires: %{python_module python-ptrace = %{pyversion}}