Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package OpenIPMI for openSUSE:Factory checked in at 2026-11-23 12:25:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old) and /work/SRC/openSUSE:Factory/.OpenIPMI.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OpenIPMI" Mon Nov 23 12:25:32 2026 rev:61 rq:1399760 version:2.0.37.13+git.1181df8 Changes: -------- --- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes 2026-04-25 21:42:33.934517048 +0200 +++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.1340718/OpenIPMI.changes 2026-11-23 12:29:59.358336666 +0100 @@ -1,0 +2,6 @@ +Wed Nov 18 10:58:25 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Add OpenIPMI-swig-python3.patch: define compatibility macros for + PyInt and PyString in Python 3.13+ to fix SWIG wrapper build. + +------------------------------------------------------------------- New: ---- OpenIPMI-swig-python3.patch ----------(New B)---------- New: - Add OpenIPMI-swig-python3.patch: define compatibility macros for PyInt and PyString in Python 3.13+ to fix SWIG wrapper build. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenIPMI.spec ++++++ --- /var/tmp/diff_new_pack.nKKiiC/_old 2026-11-23 12:30:02.641474879 +0100 +++ /var/tmp/diff_new_pack.nKKiiC/_new 2026-11-23 12:30:02.646475090 +0100 @@ -47,6 +47,8 @@ Patch3: OpenIMPI-add-libncurses.patch Patch4: fix_dia_version_detection.patch Patch5: use_python3_shebang +# PATCH-FIX-UPSTREAM OpenIPMI-swig-python3.patch -- define legacy PyInt/PyString aliases for Python 3.13+ +Patch6: OpenIPMI-swig-python3.patch BuildRequires: autoconf-archive BuildRequires: gd-devel BuildRequires: gdbm-devel ++++++ OpenIPMI-swig-python3.patch ++++++ From: Dominique Leuenberger <[email protected]> Date: Wed, 18 Nov 2026 10:58:25 +0000 Subject: Define PyInt and PyString compatibility macros for Python 3.13+ Upstream: pending (upstream repo lacks Python 3 definitions when SWIG drops legacy shims) SWIG 4.3+ eliminated internal legacy Python 2 compatibility shims (such as PyString_FromString and PyInt_FromLong). OpenIPMI_lang.i already defines PyInt_AS_LONG for PY_VERSION_HEX >= 0x03000000, so add the remaining missing aliases alongside it. --- a/swig/python/OpenIPMI_lang.i +++ b/swig/python/OpenIPMI_lang.i @@ -442,6 +442,10 @@ return s; } #define PyInt_AS_LONG PyLong_AS_LONG +#define PyInt_FromLong PyLong_FromLong +#define PyInt_Check PyLong_Check +#define PyInt_AsLong PyLong_AsLong +#define PyString_FromString PyUnicode_FromString #define OI_PyString_Check PyUnicode_Check #else #define OI_PI_FromStringAndSize PyString_FromStringAndSize ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.nKKiiC/_old 2026-11-23 12:30:02.927486920 +0100 +++ /var/tmp/diff_new_pack.nKKiiC/_new 2026-11-23 12:30:02.935487257 +0100 @@ -1,5 +1,5 @@ -mtime: 1777106269 -commit: fe8b3c898d36866e5a7f89dabac498b0a90b40ae8bf43b347fffb4af5ea874d8 +mtime: 1794999641 +commit: 65700bb8027cc0e55f56741450a684d00a86e65e9944b715b69562d1c6d289ba url: https://src.opensuse.org/SystemsManagement/OpenIPMI revision: main ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-11-18 12:00:41.000000000 +0100 @@ -0,0 +1 @@ +.osc
