Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trace-cmd for openSUSE:Factory checked in at 2026-11-17 17:21:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trace-cmd (Old) and /work/SRC/openSUSE:Factory/.trace-cmd.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trace-cmd" Tue Nov 17 17:21:10 2026 rev:26 rq:1398126 version:3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/trace-cmd/trace-cmd.changes 2026-03-27 06:51:29.454876519 +0100 +++ /work/SRC/openSUSE:Factory/.trace-cmd.new.1251/trace-cmd.changes 2026-11-17 17:23:50.933362073 +0100 @@ -1,0 +2,6 @@ +Mon Nov 16 13:52:00 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Add trace-cmd-swig-py3.patch: replace obsolete PyInt_Check + with PyLong_Check in ctracecmd.i for Python 3. + +------------------------------------------------------------------- New: ---- trace-cmd-swig-py3.patch ----------(New B)---------- New: - Add trace-cmd-swig-py3.patch: replace obsolete PyInt_Check with PyLong_Check in ctracecmd.i for Python 3. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trace-cmd.spec ++++++ --- /var/tmp/diff_new_pack.KQhQ3W/_old 2026-11-17 17:23:51.705394940 +0100 +++ /var/tmp/diff_new_pack.KQhQ3W/_new 2026-11-17 17:23:51.706394982 +0100 @@ -24,6 +24,8 @@ Group: Development/Tools/Debuggers URL: https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git Source0: trace-cmd-v%{version}.tar.gz +# PATCH-FIX-UPSTREAM trace-cmd-swig-py3.patch -- define PyInt_Check as PyLong_Check on Python 3 +Patch0: trace-cmd-swig-py3.patch BuildRequires: asciidoc BuildRequires: fdupes BuildRequires: libtraceevent-devel ++++++ trace-cmd-swig-py3.patch ++++++ --- a/python/ctracecmd.i 2026-11-16 15:14:17.685590493 +0100 +++ b/python/ctracecmd.i 2026-11-16 15:14:17.703765993 +0100 @@ -218,7 +218,7 @@ result = PyObject_Call(context, arglist, NULL); Py_XDECREF(arglist); if (result && result != Py_None) { - if (!PyInt_Check(result)) { + if (!PyLong_Check(result)) { PyErr_SetString(PyExc_TypeError, "callback must return int"); PyErr_Print();
