diff --git a/openwsman-2.7.2-fix-ftbfs.patch b/openwsman-2.7.2-fix-ftbfs.patch new file mode 100644 index 0000000..b30b3cf --- /dev/null +++ b/openwsman-2.7.2-fix-ftbfs.patch @@ -0,0 +1,12 @@ +diff -up openwsman-2.7.2/bindings/openwsman.i.orig openwsman-2.7.2/bindings/openwsman.i +--- openwsman-2.7.2/bindings/openwsman.i.orig 2024-01-22 09:36:42.764721705 +0100 ++++ openwsman-2.7.2/bindings/openwsman.i 2024-01-22 09:37:29.970817151 +0100 +@@ -109,7 +109,7 @@ SWIGINTERNINLINE SV *SWIG_From_double S + + %typemap(in) FILE* { + #if RUBY_VERSION > 18 +- struct rb_io_t *fptr; ++ struct rb_io *fptr; + #else + struct OpenFile *fptr; + #endif diff --git a/openwsman.spec b/openwsman.spec index b927214..cdd8bb0 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -25,7 +25,7 @@ Name: openwsman Version: 2.7.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Open source Implementation of WS-Management License: BSD-3-Clause AND MIT @@ -49,6 +49,7 @@ Patch2: openwsman-2.4.12-ruby-binding-build.patch Patch3: openwsman-2.6.2-openssl-1.1-fix.patch Patch4: openwsman-2.6.5-http-status-line.patch Patch5: openwsman-2.6.8-update-ssleay-conf.patch +Patch6: openwsman-2.7.2-fix-ftbfs.patch BuildRequires: make BuildRequires: swig BuildRequires: libcurl-devel libxml2-devel pam-devel sblim-sfcc-devel @@ -407,6 +408,10 @@ fi %endif %changelog +* Mon Jan 22 2024 Vitezslav Crhonek - 2.7.2-4 +- Fix FTBFS + Resolves: #2259165 + * Sun Jan 21 2024 Fedora Release Engineering - 2.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild