Update to openwsman-2.4.15

This commit is contained in:
Vitezslav Crhonek 2015-05-21 13:51:41 +02:00
parent c64f24da29
commit 0b8f990088
5 changed files with 22 additions and 4 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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.."

View File

@ -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")

View File

@ -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 <vcrhonek@redhat.com> - 2.4.15-1
- Update to openwsman-2.4.15
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.14-2
- Rebuilt for GCC 5 C++11 ABI change

View File

@ -1,2 +1,2 @@
4f2d9b1d7da6d87fcd38a9aa23559723 openwsmand.8.gz
d7594b1f9b76e5251de04b3329f4052e openwsman-2.4.14.tar.gz
760fc0520683152004606d9f274c9a72 openwsman-2.4.15.tar.gz