Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openwsman for openSUSE:Factory checked in at 2025-10-17 19:02:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openwsman (Old) and /work/SRC/openSUSE:Factory/.openwsman.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openwsman" Fri Oct 17 19:02:49 2025 rev:82 rq:1312071 version:2.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes 2025-06-30 13:06:20.725555262 +0200 +++ /work/SRC/openSUSE:Factory/.openwsman.new.18484/openwsman.changes 2025-10-17 19:02:51.443094263 +0200 @@ -1,0 +2,6 @@ +Fri Oct 17 15:00:44 UTC 2025 - Klaus Kämpf <[email protected]> + +- fix rdoc 3.4 compatibility + 0001-update-to-handle-rdoc-3.4.patch + +------------------------------------------------------------------- New: ---- 0001-update-to-handle-rdoc-3.4.patch ----------(New B)---------- New:- fix rdoc 3.4 compatibility 0001-update-to-handle-rdoc-3.4.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openwsman.spec ++++++ --- /var/tmp/diff_new_pack.wvh0mK/_old 2025-10-17 19:02:52.299130328 +0200 +++ /var/tmp/diff_new_pack.wvh0mK/_new 2025-10-17 19:02:52.299130328 +0200 @@ -1,7 +1,7 @@ # # spec file for package openwsman # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 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 @@ -161,6 +161,7 @@ Patch1: openwsman-redhat-initscript.patch # https://github.com/Openwsman/openwsman/commit/e619555c3484264a188396bc8b9c77c39ef47bb2 Patch2: openwsman-gcc15.patch +Patch3: 0001-update-to-handle-rdoc-3.4.patch %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} %define pamfile %{S:21} %else @@ -395,6 +396,7 @@ %patch -P 1 -p1 %endif %patch -P 2 -p1 +%patch -P 3 -p1 %build rm -rf build ++++++ 0001-update-to-handle-rdoc-3.4.patch ++++++ >From 8d5d9e1115d0bbfd3a236cc375373ca25ea396d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]> Date: Fri, 17 Oct 2025 16:59:22 +0200 Subject: [PATCH] update to handle rdoc 3.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Klaus Kämpf <[email protected]> --- bindings/ruby/rdoc_parser_swig.rb | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/bindings/ruby/rdoc_parser_swig.rb b/bindings/ruby/rdoc_parser_swig.rb index 0c5bd415..fb6f1645 100644 --- a/bindings/ruby/rdoc_parser_swig.rb +++ b/bindings/ruby/rdoc_parser_swig.rb @@ -107,9 +107,10 @@ class RDoc::Parser::SWIG < RDoc::Parser ## # Prepare to parse a SWIG file + # rdoc 3.4: stats parameter is optional - def initialize(top_level, file_name, content, options, stats) - super + def initialize(top_level, file_name, content, options, stats = nil) + super top_level, file_name, content, options @known_classes = RDoc::KNOWN_CLASSES.dup @content = handle_tab_width handle_ifdefs_in(@content) @@ -365,10 +366,17 @@ class RDoc::Parser::SWIG < RDoc::Parser #meth_obj.params = params meth_obj.start_collecting_tokens begin - RDoc::const_get "RubyToken" - tk = RDoc::RubyToken::Token.new nil, 1, 1 - tk.set_text body - meth_obj.offset = offset + tk = nil + if RUBY_VERSION[0,3] == "3.4" + RDoc::Parser::RipperStateLex::const_get "Token" + tk = RDoc::Parser::RipperStateLex::Token.new nil, 1, 1 + tk.text = body + else + RDoc::const_get "RubyToken" + tk = RDoc::RubyToken::Token.new nil, 1, 1 + tk.set_text body + meth_obj.offset = offset + end rescue NameError # rdoc 2.5 tk = { :line_no => 1, :char_no => 1, :text => body } -- 2.51.0
