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-07-28 18:04:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openwsman (Old)
 and      /work/SRC/openSUSE:Factory/.openwsman.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openwsman"

Tue Jul 28 18:04:13 2026 rev:84 rq:1367931 version:2.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes      2026-01-15 
16:50:09.157908236 +0100
+++ /work/SRC/openSUSE:Factory/.openwsman.new.2004/openwsman.changes    
2026-07-28 18:05:34.800635137 +0200
@@ -1,0 +2,8 @@
+Thu Jul 16 12:06:07 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Avoid requiring the /usr/bin/rdoc binary wrapper in bindings/ruby/rdoc
+  This fixes build failures on systems where /usr/bin/rdoc is an ELF
+  executable wrapper instead of a Ruby script.
+  + openwsman-rdoc-no-binary-require.patch
+
+-------------------------------------------------------------------

New:
----
  openwsman-rdoc-no-binary-require.patch

----------(New B)----------
  New:  executable wrapper instead of a Ruby script.
  + openwsman-rdoc-no-binary-require.patch
----------(New E)----------

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

Other differences:
------------------
++++++ openwsman.spec ++++++
--- /var/tmp/diff_new_pack.93Aazf/_old  2026-07-28 18:05:38.968780980 +0200
+++ /var/tmp/diff_new_pack.93Aazf/_new  2026-07-28 18:05:38.976781260 +0200
@@ -163,6 +163,7 @@
 Patch2:         openwsman-gcc15.patch
 Patch3:         0001-update-to-handle-rdoc-3.4.patch
 Patch4:         fix-rdoc-call.diff
+Patch5:         openwsman-rdoc-no-binary-require.patch
 %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
 %define pamfile %{S:21}
 %else
@@ -399,6 +400,7 @@
 %patch -P 2 -p1
 %patch -P 3 -p1
 %patch -P 4 -p1
+%patch -P 5 -p1
 
 %build
 echo "SUSE Version" 0%{?suse_version}

++++++ openwsman-rdoc-no-binary-require.patch ++++++
Index: openwsman-2.8.1/bindings/ruby/rdoc
===================================================================
--- openwsman-2.8.1.orig/bindings/ruby/rdoc
+++ openwsman-2.8.1/bindings/ruby/rdoc
@@ -26,30 +26,26 @@
   usage "Version argument malformed, must be X.Y"
 end
 
-# can't directly require /usr/bin/rdoc since it does not have a '.rb' extension
-# work around: create temporary symlink
-
-rdoc = "rdoc#{major}_#{minor}.rb"
-new_rdoc = File.join(home, rdoc)
-
-# Symlink ./rdoc.rb to /usr/bin/rdoc
-#
-File.symlink("/usr/bin/rdoc", new_rdoc) unless File.symlink?(new_rdoc)
-
-begin
-  if major == 1 && minor == 8
+if major == 1 && minor == 8
+  rdoc = "rdoc#{major}_#{minor}.rb"
+  new_rdoc = File.join(home, rdoc)
+  File.symlink("/usr/bin/rdoc", new_rdoc) unless File.symlink?(new_rdoc)
+  begin
     require 'parse_swig.rb' # load the swig parser
-  else
-    require 'rdoc'
-
-    require 'rdoc/encoding'
-    require 'rdoc/parser'
-
-    # Simple must come first
-    require 'rdoc/parser/simple'
-    require File.join(home, 'rdoc_parser_swig')
+    require "./#{rdoc}" # load the original rdoc
+  ensure
+    File.delete new_rdoc # Discard the symlink
   end
-  require "./#{rdoc}" # load the original rdoc
-ensure
-  File.delete new_rdoc # Discard the symlink
+else
+  require 'rdoc'
+  require 'rdoc/rdoc'
+
+  require 'rdoc/encoding'
+  require 'rdoc/parser'
+
+  # Simple must come first
+  require 'rdoc/parser/simple'
+  require File.join(home, 'rdoc_parser_swig')
+
+  RDoc::RDoc.new.document(ARGV)
 end

Reply via email to