From 0b8f990088bf171bb0c05c5db4ce7f0438b5b493 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Thu, 21 May 2015 13:51:41 +0200 Subject: [PATCH] Update to openwsman-2.4.15 --- .gitignore | 1 + openwsman-2.4.12-ruby-binding-build.patch | 2 +- openwsman-2.4.15-increase-version.patch | 12 ++++++++++++ openwsman.spec | 9 +++++++-- sources | 2 +- 5 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 openwsman-2.4.15-increase-version.patch diff --git a/.gitignore b/.gitignore index ce7b7a5..37977a8 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ openwsman-2.2.3.tar.bz2 /v2.4.6.tar.gz /openwsman-2.4.12.tar.gz /openwsman-2.4.14.tar.gz +/openwsman-2.4.15.tar.gz diff --git a/openwsman-2.4.12-ruby-binding-build.patch b/openwsman-2.4.12-ruby-binding-build.patch index c72f078..54e1963 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.4.14/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.4.15/include/ -o openwsman_wrap.c openwsman.i") $CPPFLAGS = "-I/usr/include/openwsman -I.." diff --git a/openwsman-2.4.15-increase-version.patch b/openwsman-2.4.15-increase-version.patch new file mode 100644 index 0000000..a63810b --- /dev/null +++ b/openwsman-2.4.15-increase-version.patch @@ -0,0 +1,12 @@ +diff -up openwsman-2.4.15/VERSION.cmake.orig openwsman-2.4.15/VERSION.cmake +--- openwsman-2.4.15/VERSION.cmake.orig 2015-05-21 13:19:58.629749906 +0200 ++++ openwsman-2.4.15/VERSION.cmake 2015-05-21 13:20:20.915842039 +0200 +@@ -47,7 +47,7 @@ + # Package version 2.4.14 + SET(OPENWSMAN_MAJOR "2") + SET(OPENWSMAN_MINOR "4") +-SET(OPENWSMAN_PATCH "14") ++SET(OPENWSMAN_PATCH "15") + + # Plugin API 2.2 + SET(OPENWSMAN_PLUGIN_API_MAJOR "2") diff --git a/openwsman.spec b/openwsman.spec index 93c53b8..c22631f 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -15,8 +15,8 @@ BuildRequires: python python-devel perl BuildRequires: perl-devel pkgconfig openssl-devel BuildRequires: cmake BuildRequires: systemd-units -Version: 2.4.14 -Release: 2%{?dist} +Version: 2.4.15 +Release: 1%{?dist} Url: http://www.openwsman.org/ License: BSD Group: Applications/System @@ -33,6 +33,7 @@ Source3: owsmantestcert.sh Patch1: openwsman-2.2.7-libssl.patch Patch2: openwsman-2.4.0-pamsetup.patch Patch3: openwsman-2.4.12-ruby-binding-build.patch +Patch4: openwsman-2.4.15-increase-version.patch %description Openwsman is a project intended to provide an open-source @@ -157,6 +158,7 @@ This package provides Perl bindings to access the openwsman client API. %patch1 -p1 -b .libssl %patch2 -p1 -b .pamsetup %patch3 -p1 -b .ruby-binding-build +%patch4 -p1 -b .increase-version # support ruby 2.2 pushd bindings/ruby @@ -319,6 +321,9 @@ rm -f /var/log/wsmand.log %changelog +* Thu May 21 2015 Vitezslav Crhonek - 2.4.15-1 +- Update to openwsman-2.4.15 + * Sat May 02 2015 Kalev Lember - 2.4.14-2 - Rebuilt for GCC 5 C++11 ABI change diff --git a/sources b/sources index 1ddc948..51c7ec1 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 4f2d9b1d7da6d87fcd38a9aa23559723 openwsmand.8.gz -d7594b1f9b76e5251de04b3329f4052e openwsman-2.4.14.tar.gz +760fc0520683152004606d9f274c9a72 openwsman-2.4.15.tar.gz