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-01-15 16:49:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openwsman (Old)
 and      /work/SRC/openSUSE:Factory/.openwsman.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openwsman"

Thu Jan 15 16:49:04 2026 rev:83 rq:1327421 version:2.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes      2025-10-17 
19:02:51.443094263 +0200
+++ /work/SRC/openSUSE:Factory/.openwsman.new.1928/openwsman.changes    
2026-01-15 16:50:09.157908236 +0100
@@ -1,0 +2,6 @@
+Thu Jan 15 14:36:39 UTC 2026 - Klaus Kämpf <[email protected]>
+
+- fix Ruby 4.0 build
+  fix-rdoc-call.diff
+
+-------------------------------------------------------------------

New:
----
  fix-rdoc-call.diff

----------(New B)----------
  New:- fix Ruby 4.0 build
  fix-rdoc-call.diff
----------(New E)----------

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

Other differences:
------------------
++++++ openwsman.spec ++++++
--- /var/tmp/diff_new_pack.8kJtMu/_old  2026-01-15 16:50:10.285955168 +0100
+++ /var/tmp/diff_new_pack.8kJtMu/_new  2026-01-15 16:50:10.297955667 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openwsman
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -162,6 +162,7 @@
 # 
https://github.com/Openwsman/openwsman/commit/e619555c3484264a188396bc8b9c77c39ef47bb2
 Patch2:         openwsman-gcc15.patch
 Patch3:         0001-update-to-handle-rdoc-3.4.patch
+Patch4:         fix-rdoc-call.diff
 %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
 %define pamfile %{S:21}
 %else
@@ -397,8 +398,10 @@
 %endif
 %patch -P 2 -p1
 %patch -P 3 -p1
+%patch -P 4 -p1
 
 %build
+echo "SUSE Version" 0%{?suse_version}
 rm -rf build
 mkdir build
 %if 0%{?fedora}

++++++ fix-rdoc-call.diff ++++++
diff --git a/bindings/ruby/rdoc_parser_swig.rb 
b/bindings/ruby/rdoc_parser_swig.rb
index fb6f1645..7305fceb 100644
--- a/bindings/ruby/rdoc_parser_swig.rb
+++ b/bindings/ruby/rdoc_parser_swig.rb
@@ -364,7 +364,13 @@ class RDoc::Parser::SWIG < RDoc::Parser
       find_modifiers comment, meth_obj if comment
 
       #meth_obj.params = params
-      meth_obj.start_collecting_tokens
+      begin
+        # new rdoc
+        meth_obj.start_collecting_tokens :swig
+      rescue
+        # old rdoc
+        meth_obj.start_collecting_tokens
+      end
       begin
         tk = nil
        if RUBY_VERSION[0,3] == "3.4"

Reply via email to