From db3471253293a2b584b3fcab307624ed5bbc63c5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 10 2018 05:40:52 +0000 Subject: import wsmancli-2.6.0-1.el7 --- diff --git a/.gitignore b/.gitignore index 2509c7a..69ffdd7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/wsmancli-2.3.0.tar.bz2 +SOURCES/wsmancli-2.6.0.tar.gz diff --git a/.wsmancli.metadata b/.wsmancli.metadata index 22cadc4..73a2004 100644 --- a/.wsmancli.metadata +++ b/.wsmancli.metadata @@ -1 +1 @@ -13f17a6fb495a105a7159b33333a5bf6ab744a2b SOURCES/wsmancli-2.3.0.tar.bz2 +128159204ab22b58a67c92827ced67e70cd2e1f2 SOURCES/wsmancli-2.6.0.tar.gz diff --git a/SOURCES/missing-pthread-symbols.patch b/SOURCES/missing-pthread-symbols.patch index 9eb2419..022e812 100644 --- a/SOURCES/missing-pthread-symbols.patch +++ b/SOURCES/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/SPECS/wsmancli.spec b/SPECS/wsmancli.spec index 4300b0b..ba9f1f5 100644 --- a/SPECS/wsmancli.spec +++ b/SPECS/wsmancli.spec @@ -1,14 +1,17 @@ Name: wsmancli -Version: 2.3.0 -Release: 4%{dist} +Version: 2.6.0 +Release: 1%{dist} License: BSD Url: http://www.openwsman.org/ -Source: http://downloads.sourceforge.net/project/openwsman/%{name}/%{version}/%{name}-%{version}.tar.bz2 +# You can get this tarball here: +# https://github.com/Openwsman/wsmancli/archive/v%{version}.tar.gz +Source: wsmancli-%{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 +26,7 @@ systems using Web Services Management protocol. cp -fp %SOURCE1 %SOURCE2 %SOURCE3 .; %build +./bootstrap %configure --disable-more-warnings make %{?_smp_flags} @@ -32,9 +36,15 @@ make DESTDIR=%{buildroot} install %files %{_bindir}/wsman %{_bindir}/wseventmgr +%{_mandir}/man1/wsman* +%{_mandir}/man1/wseventmgr* %doc COPYING README AUTHORS %changelog +* Mon Oct 16 2017 Vitezslav Crhonek - 2.6.0-1 +- Update to wsmancli-2.6.0 + Resolves: #1496471 + * Fri Jan 24 2014 Daniel Mach - 2.3.0-4 - Mass rebuild 2014-01-24