Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openwsman for openSUSE:Factory 
checked in at 2026-11-18 18:31:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openwsman (Old)
 and      /work/SRC/openSUSE:Factory/.openwsman.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openwsman"

Wed Nov 18 18:31:45 2026 rev:85 rq:1398356 version:2.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes      2026-07-28 
18:05:34.800635137 +0200
+++ /work/SRC/openSUSE:Factory/.openwsman.new.1251/openwsman.changes    
2026-11-18 18:33:16.239222072 +0100
@@ -1,0 +2,6 @@
+Mon Nov 16 15:23:00 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Add openwsman-swig-py3.patch: replace obsolete PyString_AsString
+  with PyUnicode_AsUTF8 in bindings/python/helpers.h for Python 3.
+
+-------------------------------------------------------------------

New:
----
  openwsman-swig-py3.patch

----------(New B)----------
  New:
- Add openwsman-swig-py3.patch: replace obsolete PyString_AsString
  with PyUnicode_AsUTF8 in bindings/python/helpers.h for Python 3.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openwsman.spec ++++++
--- /var/tmp/diff_new_pack.XNPMM7/_old  2026-11-18 18:33:17.212263465 +0100
+++ /var/tmp/diff_new_pack.XNPMM7/_new  2026-11-18 18:33:17.214263550 +0100
@@ -164,6 +164,8 @@
 Patch3:         0001-update-to-handle-rdoc-3.4.patch
 Patch4:         fix-rdoc-call.diff
 Patch5:         openwsman-rdoc-no-binary-require.patch
+# PATCH-FIX-UPSTREAM openwsman-swig-py3.patch -- replace obsolete PyString_* 
with PyUnicode_* in Python bindings
+Patch6:         openwsman-swig-py3.patch
 %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
 %define pamfile %{S:21}
 %else
@@ -401,6 +403,7 @@
 %patch -P 3 -p1
 %patch -P 4 -p1
 %patch -P 5 -p1
+%patch -P 6 -p1
 
 %build
 echo "SUSE Version" 0%{?suse_version}

++++++ openwsman-swig-py3.patch ++++++
--- a/bindings/python/helpers.h 2026-11-16 16:22:41.915257340 +0100
+++ b/bindings/python/helpers.h 2026-11-16 16:22:41.929563432 +0100
@@ -102,10 +102,10 @@
     }
     puser = PyTuple_GetItem(prv, 0); 
     ppass = PyTuple_GetItem(prv, 0); 
-    if (PyString_Check(puser) && PyString_Check(ppass))
+    if (PyUnicode_Check(puser) && PyUnicode_Check(ppass))
     {
-        *username = strdup(PyString_AsString(puser));
-        *password = strdup(PyString_AsString(ppass));
+        *username = strdup(PyUnicode_AsUTF8(puser));
+        *password = strdup(PyUnicode_AsUTF8(ppass));
     }
 
 cleanup:

Reply via email to