Hello community,

here is the log from the commit of package wsmancli for openSUSE:Factory 
checked in at 2015-01-15 15:59:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wsmancli (Old)
 and      /work/SRC/openSUSE:Factory/.wsmancli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wsmancli"

Changes:
--------
--- /work/SRC/openSUSE:Factory/wsmancli/wsmancli.changes        2014-02-28 
21:17:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.wsmancli.new/wsmancli.changes   2015-01-15 
15:59:31.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 15 07:46:24 UTC 2015 - [email protected]
+
+- Update to 2.3.2
+  - use API to set properties
+
+-------------------------------------------------------------------

Old:
----
  wsmancli-2.3.1.tar.bz2
  wsmancli_2.3.0-0ubuntu4~precise1~ppa1.debian.tar.gz
  wsmancli_2.3.0-0ubuntu4~precise1~ppa1.dsc
  wsmancli_2.3.0.orig.tar.bz2

New:
----
  wsmancli-2.3.2.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wsmancli.spec ++++++
--- /var/tmp/diff_new_pack.VtPWsW/_old  2015-01-15 15:59:33.000000000 +0100
+++ /var/tmp/diff_new_pack.VtPWsW/_new  2015-01-15 15:59:33.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package wsmancli
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,8 +18,8 @@
 
 Name:           wsmancli
 BuildRequires:  gcc-c++
-BuildRequires:  libwsman-devel >= 2.2.7
-BuildRequires:  libwsman_clientpp-devel >= 2.2.7
+BuildRequires:  libwsman-devel >= 2.4.12
+BuildRequires:  libwsman_clientpp-devel >= 2.4.12
 BuildRequires:  pkgconfig
 %if 0%{?suse_version} > 1010
 BuildRequires:  libcurl-devel
@@ -27,7 +27,7 @@
 # SLE 10
 BuildRequires:  curl-devel
 %endif
-Version:        2.3.1
+Version:        2.3.2
 Release:        0
 Url:            http://www.openwsman.org/
 Summary:        Command line client utilities for WS-Management

++++++ wsmancli-2.3.1.tar.bz2 -> wsmancli-2.3.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.3.1/aclocal.m4 
new/wsmancli-2.3.2/aclocal.m4
--- old/wsmancli-2.3.1/aclocal.m4       2014-02-13 12:24:47.000000000 +0100
+++ new/wsmancli-2.3.2/aclocal.m4       2015-01-15 08:44:58.000000000 +0100
@@ -1326,7 +1326,7 @@
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
@@ -1340,7 +1340,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_i386"
            ;;
-         ppc64-*linux*|powerpc64-*linux*)
+         powerpc64le-*linux*)
+           LD="${LD-ld} -m elf32lppclinux"
+           ;;
+         powerpc64-*linux*)
            LD="${LD-ld} -m elf32ppclinux"
            ;;
          s390x-*linux*)
@@ -1359,7 +1362,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
-         ppc*-*linux*|powerpc*-*linux*)
+         powerpcle-*linux*)
+           LD="${LD-ld} -m elf64lppc"
+           ;;
+         powerpc-*linux*)
            LD="${LD-ld} -m elf64ppc"
            ;;
          s390*-*linux*|s390*-*tpf*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.3.1/configure new/wsmancli-2.3.2/configure
--- old/wsmancli-2.3.1/configure        2014-02-13 12:24:48.000000000 +0100
+++ new/wsmancli-2.3.2/configure        2015-01-15 08:45:00.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for wsmancli 2.3.1.
+# Generated by GNU Autoconf 2.69 for wsmancli 2.3.2.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='wsmancli'
 PACKAGE_TARNAME='wsmancli'
-PACKAGE_VERSION='2.3.1'
-PACKAGE_STRING='wsmancli 2.3.1'
+PACKAGE_VERSION='2.3.2'
+PACKAGE_STRING='wsmancli 2.3.2'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1343,7 +1343,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures wsmancli 2.3.1 to adapt to many kinds of systems.
+\`configure' configures wsmancli 2.3.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1413,7 +1413,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of wsmancli 2.3.1:";;
+     short | recursive ) echo "Configuration of wsmancli 2.3.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1536,7 +1536,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-wsmancli configure 2.3.1
+wsmancli configure 2.3.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2022,7 +2022,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by wsmancli $as_me 2.3.1, which was
+It was created by wsmancli $as_me 2.3.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2887,7 +2887,7 @@
 # Define the identity of the package.
 
  PACKAGE=wsmancli
- VERSION=2.3.1
+ VERSION=2.3.2
 
 
 cat >>confdefs.h <<_ACEOF
@@ -8381,7 +8381,7 @@
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
@@ -8399,7 +8399,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_i386"
            ;;
-         ppc64-*linux*|powerpc64-*linux*)
+         powerpc64le-*linux*)
+           LD="${LD-ld} -m elf32lppclinux"
+           ;;
+         powerpc64-*linux*)
            LD="${LD-ld} -m elf32ppclinux"
            ;;
          s390x-*linux*)
@@ -8418,7 +8421,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
-         ppc*-*linux*|powerpc*-*linux*)
+         powerpcle-*linux*)
+           LD="${LD-ld} -m elf64lppc"
+           ;;
+         powerpc-*linux*)
            LD="${LD-ld} -m elf64ppc"
            ;;
          s390*-*linux*|s390*-*tpf*)
@@ -17345,7 +17351,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by wsmancli $as_me 2.3.1, which was
+This file was extended by wsmancli $as_me 2.3.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17411,7 +17417,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-wsmancli config.status 2.3.1
+wsmancli config.status 2.3.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.3.1/configure.in 
new/wsmancli-2.3.2/configure.in
--- old/wsmancli-2.3.1/configure.in     2014-02-13 12:16:18.000000000 +0100
+++ new/wsmancli-2.3.2/configure.in     2015-01-15 08:43:41.000000000 +0100
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(wsmancli, 2.3.1)
+AC_INIT(wsmancli, 2.3.2)
 AC_CONFIG_SRCDIR(wsmancli.spec.in)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AM_CONFIG_HEADER(config.h)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.3.1/src/wsman.c 
new/wsmancli-2.3.2/src/wsman.c
--- old/wsmancli-2.3.1/src/wsman.c      2014-02-26 10:11:47.000000000 +0100
+++ new/wsmancli-2.3.2/src/wsman.c      2015-01-14 16:41:07.000000000 +0100
@@ -512,25 +512,18 @@
 
 
 
-static hash_t *wsman_options_get_properties(void)
+static void
+wsman_options_set_properties(client_opt_t *options)
 {
        int c = 0;
-       hash_t *h = hash_create(HASHCOUNT_T_MAX, 0, 0);
 
        while (properties != NULL && properties[c] != NULL) {
                char *cc[3] = { NULL, NULL, NULL };
                u_tokenize1(cc, 2, properties[c], '=');
-               if (!hash_lookup(h, cc[0])) {
-                       if (!hash_alloc_insert(h, cc[0], cc[1])) {
-                               debug("hash_alloc_insert failed");
-                       }
-               } else {
-                       warn("duplicate not added to hash");
-               }
-
+                wsmc_add_property(options, cc[0], cc[1]);
                c++;
        }
-       return h;
+       return;
 }
 
 
@@ -745,7 +738,7 @@
                options->fragment = fragment;
        }
 
-       options->properties = wsman_options_get_properties();
+       wsman_options_set_properties(options);
        options->cim_ns = cim_namespace;
        if (cim_extensions) {
                wsmc_set_action_option(options, FLAG_CIM_EXTENSIONS);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.3.1/wsmancli.spec.in 
new/wsmancli-2.3.2/wsmancli.spec.in
--- old/wsmancli-2.3.1/wsmancli.spec.in 2014-02-13 12:28:14.000000000 +0100
+++ new/wsmancli-2.3.2/wsmancli.spec.in 2015-01-15 08:43:20.000000000 +0100
@@ -18,8 +18,8 @@
 
 Name:           wsmancli
 BuildRequires:  gcc-c++
-BuildRequires:  libwsman-devel >= 2.2.7
-BuildRequires:  libwsman_clientpp-devel >= 2.2.7
+BuildRequires:  libwsman-devel >= 2.4.12
+BuildRequires:  libwsman_clientpp-devel >= 2.4.12
 BuildRequires:  pkgconfig
 %if 0%{?suse_version} > 1010
 BuildRequires:  libcurl-devel

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to