Update to openwsman-2.6.0

This commit is contained in:
Vitezslav Crhonek 2015-06-16 10:26:12 +02:00
parent f008d35258
commit ec8ce33af6
5 changed files with 8 additions and 18 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ openwsman-2.2.3.tar.bz2
/openwsman-2.4.12.tar.gz
/openwsman-2.4.14.tar.gz
/openwsman-2.4.15.tar.gz
/openwsman-2.6.0.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.15/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.0/include/ -o openwsman_wrap.c openwsman.i")
$CPPFLAGS = "-I/usr/include/openwsman -I.."

View File

@ -1,12 +0,0 @@
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.15
Release: 2%{?dist}
Version: 2.6.0
Release: 1%{?dist}
Url: http://www.openwsman.org/
License: BSD
Group: Applications/System
@ -33,7 +33,6 @@ 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
@ -158,7 +157,6 @@ 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
@ -321,6 +319,9 @@ rm -f /var/log/wsmand.log
%changelog
* Tue Jun 16 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.6.0-1
- Update to openwsman-2.6.0
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.4.15-2
- Perl 5.22 rebuild

View File

@ -1,2 +1,2 @@
4f2d9b1d7da6d87fcd38a9aa23559723 openwsmand.8.gz
760fc0520683152004606d9f274c9a72 openwsman-2.4.15.tar.gz
824834a86040b98b03f3fc0f7f62e853 openwsman-2.6.0.tar.gz