This commit is contained in:
Mamoru TASAKA 2015-01-17 16:07:53 +09:00
parent e470351e35
commit 30497eed1a

View File

@ -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 <mtasaka@fedoraproject.org> - 2.4.6-5
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.4.6-4
- Perl 5.20 rebuild