diff --git a/missing-pthread-symbols.patch b/missing-pthread-symbols.patch new file mode 100644 index 0000000..79da4b3 --- /dev/null +++ b/missing-pthread-symbols.patch @@ -0,0 +1,12 @@ +diff -up wsmancli-2.1.0/examples/cpp/Makefile.in.old wsmancli-2.1.0/examples/cpp/Makefile.in +--- wsmancli-2.1.0/examples/cpp/Makefile.in.old 2009-11-06 10:29:49.000000000 -0600 ++++ wsmancli-2.1.0/examples/cpp/Makefile.in 2009-11-06 10:29:20.000000000 -0600 +@@ -158,7 +158,7 @@ target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + LDADD = \ +- -lwsman -lwsman_clientpp ++ -lwsman -lpthread -lwsman_clientpp + + EnumInstance_SOURCES = \ + EnumInstance.cpp diff --git a/wsmancli.spec b/wsmancli.spec index e606e65..d54e08e 100644 --- a/wsmancli.spec +++ b/wsmancli.spec @@ -1,6 +1,6 @@ Name: wsmancli Version: 2.1.0 -Release: 3%{dist} +Release: 4%{dist} License: BSD Url: http://www.openwsman.org/ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 @@ -8,6 +8,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX) Group: Applications/System BuildRequires: openwsman-devel >= 2.1.0 pkgconfig curl-devel Requires: openwsman curl +Patch0: missing-pthread-symbols.patch Summary: WS-Management-Command line Interface %description @@ -16,6 +17,7 @@ systems using Web Services Management protocol. %prep %setup -q +%patch0 -p1 %build %configure --disable-more-warnings @@ -35,6 +37,8 @@ rm -rf %{buildroot} %doc COPYING README %changelog +* Fri Nov 6 2009 Praveen K Paladugu - 2.1.0-4 +- Missing symbols from pthread library. * Mon Jul 27 2009 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild