From 08dafdca2d2cebb6c54ff03ad77879ca5cbf0b48 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 23 Jun 2015 11:17:17 +0200 Subject: [PATCH] Update to openwsman-2.4.15 --- .gitignore | 1 + openwsman-2.4.12-ruby-binding-build.patch | 2 +- openwsman-2.4.15-fix-version.patch | 16 ++++++++++++++++ openwsman.spec | 7 ++++++- sources | 2 +- 5 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 openwsman-2.4.15-fix-version.patch diff --git a/.gitignore b/.gitignore index ecd1e84..082f1b5 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ openwsman-2.2.3.tar.bz2 /v2.4.4.tar.gz /v2.4.6.tar.gz /openwsman-2.4.12.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 8a952a1..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.12/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-fix-version.patch b/openwsman-2.4.15-fix-version.patch new file mode 100644 index 0000000..fe036ca --- /dev/null +++ b/openwsman-2.4.15-fix-version.patch @@ -0,0 +1,16 @@ +diff -up openwsman-2.4.15/VERSION.cmake.orig openwsman-2.4.15/VERSION.cmake +--- openwsman-2.4.15/VERSION.cmake.orig 2015-05-20 12:02:32.000000000 +0200 ++++ openwsman-2.4.15/VERSION.cmake 2015-06-23 11:08:34.230013254 +0200 +@@ -44,10 +44,10 @@ + # set COMPATMINOR to MINOR. (binary incompatible change) + # + +-# Package version 2.4.14 ++# Package version 2.4.15 + 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 34ef279..4dfb8bd 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.4.12 +Version: 2.4.15 Release: 1%{?dist} Url: http://www.openwsman.org/ License: BSD @@ -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-fix-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 .fix-version # support ruby 2.2 pushd bindings/ruby @@ -319,6 +321,9 @@ rm -f /var/log/wsmand.log %changelog +* Tue Jun 23 2015 Vitezslav Crhonek - 2.4.15-1 +- Update to openwsman-2.4.15 + * Mon Feb 09 2015 Vitezslav Crhonek - 2.4.12-1 - Update to openwsman-2.4.12 diff --git a/sources b/sources index ce796c0..51c7ec1 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 4f2d9b1d7da6d87fcd38a9aa23559723 openwsmand.8.gz -4893a41c6fd89b33095c315c79638a75 openwsman-2.4.12.tar.gz +760fc0520683152004606d9f274c9a72 openwsman-2.4.15.tar.gz