diff --git a/openwsman-2.6.5-fix-ruby-bindings-for-swig-41.patch b/openwsman-2.6.5-fix-ruby-bindings-for-swig-41.patch new file mode 100644 index 0000000000000000000000000000000000000000..de7a199d480581edbcdfb1e73f5608be0016c980 --- /dev/null +++ b/openwsman-2.6.5-fix-ruby-bindings-for-swig-41.patch @@ -0,0 +1,12 @@ +diff -up openwsman-2.7.1/bindings/ruby/helpers.h.orig openwsman-2.7.1/bindings/ruby/helpers.h +--- openwsman-2.7.1/bindings/ruby/helpers.h.orig 2021-04-07 17:25:55.000000000 +0200 ++++ openwsman-2.7.1/bindings/ruby/helpers.h 2022-10-21 08:36:24.901459057 +0200 +@@ -47,7 +47,7 @@ + * + */ + +-#if SWIGVERSION > 0x020004 ++#if SWIG_VERSION > 0x020004 + #define KLASS_DECL(k,t) swig_class *k = (swig_class *)(t->clientdata) + #define KLASS_OF(x) x->klass + #else diff --git a/openwsman.spec b/openwsman.spec index e3a91b17d51dca7bf5ebf1d283a2266088681f83..87388fa86c1cc60e0676bb5332557dda2d17bdba 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -3,7 +3,7 @@ Name: openwsman Version: 2.6.5 -Release: 15 +Release: 16 Summary: Opensource Implementation of WS-Management License: BSD-3-Clause and MIT URL: http://www.openwsman.org/ @@ -16,6 +16,7 @@ Patch0001: openwsman-2.4.12-ruby-binding-build.patch Patch0002: openwsman-2.6.2-openssl-1.1-fix.patch Patch0003: openwsman-2.6.5-fix-set-cipher-list-retval-check.patch Patch0004: openwsman-2.6.5-libcurl-error-codes-update.patch +Patch0005: openwsman-2.6.5-fix-ruby-bindings-for-swig-41.patch Patch6000: CVE-2019-3833.patch Patch6001: 0001-Make-python-version-explitic-DBUILD_PYTHON3-or-DBUIL.patch @@ -259,6 +260,9 @@ rm -f /var/log/wsmand.log %{_mandir}/man8/* %changelog +* Thu Aug 24 2023 liyanan - 2.6.5-16 +- Fix Ruby bindings for swig 4.1 + * Tue May 10 2022 yaoxin - 2.6.5-15 - License compliance rectification