diff --git a/.gitignore b/.gitignore index c8859f7..d7e64d9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ wsmancli-2.2.3.tar.bz2 /wsmancli-2.2.5.tar.bz2 /wsmancli-2.2.7.1.tar.bz2 /wsmancli-2.3.0.tar.bz2 +/v2.3.1.tar.gz diff --git a/missing-pthread-symbols.patch b/missing-pthread-symbols.patch index 9eb2419..022e812 100644 --- a/missing-pthread-symbols.patch +++ b/missing-pthread-symbols.patch @@ -1,12 +1,11 @@ -diff -up wsmancli-2.3.0/examples/cpp/Makefile.in.orig wsmancli-2.3.0/examples/cpp/Makefile.in ---- wsmancli-2.3.0/examples/cpp/Makefile.in.orig 2012-11-12 14:06:55.438748181 +0100 -+++ wsmancli-2.3.0/examples/cpp/Makefile.in 2012-11-12 14:07:13.932935875 +0100 -@@ -224,7 +224,7 @@ top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ +diff -up wsmancli-2.3.1/examples/cpp/Makefile.am.orig wsmancli-2.3.1/examples/cpp/Makefile.am +--- wsmancli-2.3.1/examples/cpp/Makefile.am.orig 2014-02-26 12:09:41.686906501 +0100 ++++ wsmancli-2.3.1/examples/cpp/Makefile.am 2014-02-26 12:10:09.731982919 +0100 +@@ -1,6 +1,6 @@ + LDADD = \ - $(OPENWSMAN_LIBS) -lwsman_clientpp + $(OPENWSMAN_LIBS) -lpthread -lwsman_clientpp - EnumInstance_SOURCES = \ - EnumInstance.cpp + CXXFLAGS = \ + $(OPENWSMAN_CFLAGS) diff --git a/sources b/sources index 3d2b004..a8b9f82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -99f89e6a01b0d9e0337bfdd3372c14c3 wsmancli-2.3.0.tar.bz2 +818336722751e729bf965e6c29999ce6 v2.3.1.tar.gz diff --git a/wsmancli.spec b/wsmancli.spec index ea75388..85aeebb 100644 --- a/wsmancli.spec +++ b/wsmancli.spec @@ -1,14 +1,15 @@ Name: wsmancli -Version: 2.3.0 -Release: 4%{dist} +Version: 2.3.1 +Release: 1%{dist} License: BSD Url: http://www.openwsman.org/ -Source: http://downloads.sourceforge.net/project/openwsman/%{name}/%{version}/%{name}-%{version}.tar.bz2 +Source: https://github.com/Openwsman/wsmancli/archive/v%{version}.tar.gz Source1: COPYING Source2: README Source3: AUTHORS Group: Applications/System BuildRequires: openwsman-devel >= 2.1.0 pkgconfig curl-devel +BuildRequires: autoconf automake libtool Requires: openwsman curl Patch0: missing-pthread-symbols.patch Summary: WS-Management-Command line Interface @@ -23,6 +24,7 @@ systems using Web Services Management protocol. cp -fp %SOURCE1 %SOURCE2 %SOURCE3 .; %build +./bootstrap %configure --disable-more-warnings make %{?_smp_flags} @@ -32,9 +34,14 @@ make DESTDIR=%{buildroot} install %files %{_bindir}/wsman %{_bindir}/wseventmgr +%{_mandir}/man1/wsman* +%{_mandir}/man1/wseventmgr* %doc COPYING README AUTHORS %changelog +* Wed Mar 12 2014 Vitezslav Crhonek - 2.3.1-1 +- Update to wsmancli-2.3.1 + * Thu Sep 19 2013 Vitezslav Crhonek - 2.3.0-4 - Rebuild because of soname change in openswman