From 30497eed1a5a0a79dd1ad2ab4a6c36f21a192127 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sat, 17 Jan 2015 16:07:53 +0900 Subject: [PATCH] Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2 --- openwsman.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/openwsman.spec b/openwsman.spec index b5abc53..3d3ea68 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -17,7 +17,7 @@ BuildRequires: perl-devel pkgconfig openssl-devel BuildRequires: cmake BuildRequires: systemd-units Version: 2.4.6 -Release: 4%{?dist} +Release: 5%{?dist} Url: http://www.openwsman.org/ License: BSD Group: Applications/System @@ -167,6 +167,12 @@ This package provides Perl bindings to access the openwsman client API. # Fix wrong symlinks (fixed upstream, will be in 2.4.1) ln -sf %{_bindir}/rdoc bindings/ruby/rdoc1_9.rb ln -sf %{_bindir}/rdoc bindings/ruby/rdoc2_0.rb +# support ruby 2.2 +pushd bindings/ruby +cat rdoc2.1 | sed -e 's|rdoc2_1|rdoc2_2|' > rdoc2.2 +chmod 0755 rdoc2.2 +ln -sf %{_bindir}/rdoc rdoc2_2.rb +popd %build # Removing executable permissions on .c and .h files to fix rpmlint warnings. @@ -328,6 +334,9 @@ rm -f /var/log/wsmand.log %changelog +* Sat Jan 17 2015 Mamoru TASAKA - 2.4.6-5 +- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2 + * Tue Aug 26 2014 Jitka Plesnikova - 2.4.6-4 - Perl 5.20 rebuild