From 30f95a80e5f239cd7c29d146cdf77eecdd09c1e2 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Nov 05 2015 10:21:43 +0000 Subject: Update to openwsman-2.6.2 --- diff --git a/.gitignore b/.gitignore index a3a9be2..de1dfbc 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ openwsman-2.2.3.tar.bz2 /openwsman-2.4.15.tar.gz /openwsman-2.6.0.tar.gz /openwsman-2.6.1.tar.gz +/openwsman-2.6.2.tar.gz diff --git a/openwsman-2.4.12-ruby-binding-build.patch b/openwsman-2.4.12-ruby-binding-build.patch index 64c89da..133cca3 100644 --- a/openwsman-2.4.12-ruby-binding-build.patch +++ b/openwsman-2.4.12-ruby-binding-build.patch @@ -6,7 +6,7 @@ diff -up openwsman-2.4.12/bindings/ruby/extconf.rb.orig openwsman-2.4.12/binding major, minor, path = RUBY_VERSION.split(".") -raise "SWIG failed to run" unless system("#{swig} -ruby -autorename -DRUBY_VERSION=#{major}#{minor} -I. -I/usr/include/openwsman -o openwsman_wrap.c openwsman.i") -+raise "SWIG failed to run" unless system("#{swig} -ruby -autorename -DRUBY_VERSION=#{major}#{minor} -I. -I/usr/include/openwsman -I/builddir/build/BUILD/openwsman-2.6.1/include/ -o openwsman_wrap.c openwsman.i") ++raise "SWIG failed to run" unless system("#{swig} -ruby -autorename -DRUBY_VERSION=#{major}#{minor} -I. -I/usr/include/openwsman -I/builddir/build/BUILD/openwsman-2.6.2/include/ -o openwsman_wrap.c openwsman.i") $CPPFLAGS = "-I/usr/include/openwsman -I.." diff --git a/openwsman.spec b/openwsman.spec index 87fb6c0..682cc3c 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -15,7 +15,7 @@ BuildRequires: python python-devel perl BuildRequires: perl-devel pkgconfig openssl-devel BuildRequires: cmake BuildRequires: systemd-units -Version: 2.6.1 +Version: 2.6.2 Release: 1%{?dist} Url: http://www.openwsman.org/ License: BSD @@ -152,6 +152,17 @@ This package provides Perl bindings to access the openwsman client API. +%package winrs +Summary: Windows Remote Shell +Requires: rubygem-%{gem_name} = %{version}-%{release} + +%description winrs +This is a command line tool for the Windows Remote Shell protocol. You +can use it to send shell commands to a remote Windows hosts. + + + + %prep %setup -q %patch1 -p1 -b .libssl @@ -235,6 +246,9 @@ rm -rf %{buildroot}%{gem_instdir}/ext mkdir -p %{buildroot}%{gem_extdir_mri} cp -a ./build%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/ +# rename winrs.rb -> winrs +mv %{buildroot}/%{_bindir}/winrs.rb %{buildroot}%{_bindir}/winrs + %post -n libwsman1 -p /sbin/ldconfig %postun -n libwsman1 -p /sbin/ldconfig @@ -317,8 +331,14 @@ rm -f /var/log/wsmand.log %config(noreplace) %{_sysconfdir}/openwsman/openwsman_client.conf %doc AUTHORS COPYING ChangeLog README.md +%files winrs +%{_bindir}/winrs + %changelog +* Thu Nov 05 2015 Vitezslav Crhonek - 2.6.2-1 +- Update to openwsman-2.6.2 + * Mon Aug 31 2015 Vitezslav Crhonek - 2.6.1-1 - Update to openwsman-2.6.1 - Review PAM rules diff --git a/sources b/sources index fba18b1..d7b0ede 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 4f2d9b1d7da6d87fcd38a9aa23559723 openwsmand.8.gz -3122980b37d70705c51c4600f503402a openwsman-2.6.1.tar.gz +221163800046cca5ddb38868d3f82d7e openwsman-2.6.2.tar.gz