Hello community,

here is the log from the commit of package libnl3 for openSUSE:Factory checked 
in at 2017-06-17 10:20:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnl3 (Old)
 and      /work/SRC/openSUSE:Factory/.libnl3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnl3"

Sat Jun 17 10:20:19 2017 rev:32 rq:501802 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnl3/libnl3.changes    2017-03-21 
22:45:28.713310927 +0100
+++ /work/SRC/openSUSE:Factory/.libnl3.new/libnl3.changes       2017-06-17 
10:20:22.169924987 +0200
@@ -1,0 +2,6 @@
+Wed Jun  7 14:55:00 UTC 2017 - [email protected]
+
+- Update to final release 3.3.0
+  * No changes
+
+-------------------------------------------------------------------

Old:
----
  libnl-3.3.0-rc1.tar.gz
  libnl-3.3.0-rc1.tar.gz.sig

New:
----
  libnl-3.3.0.tar.gz
  libnl-3.3.0.tar.gz.sig

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

Other differences:
------------------
++++++ libnl3.spec ++++++
--- /var/tmp/diff_new_pack.Qp0blF/_old  2017-06-17 10:20:22.937816666 +0200
+++ /var/tmp/diff_new_pack.Qp0blF/_new  2017-06-17 10:20:22.937816666 +0200
@@ -19,16 +19,15 @@
 Name:           libnl3
 %define lname  libnl3-200
 %define with_tools 1
-%define uver   3_3_0rc1
-%define rversion 3.3.0-rc1
-Version:        3.3.0~rc1
+%define uver   3_3_0
+%define rversion 3.3.0
+Version:        3.3.0
 Release:        0
 Summary:        Convenience library for working with Netlink sockets
 License:        LGPL-2.1 and GPL-2.0
 Group:          Development/Libraries/C and C++
 Url:            http://www.carisma.slowglass.com/~tgr/libnl/#(outdated)
 
-#Git-Clone:    git://git.infradead.org/users/tgr/libnl
 #Git-Clone:    git://github.com/thom311/libnl/
 #Mailing-List: http://lists.infradead.org/mailman/listinfo/libnl
 Source:         
https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-%rversion.tar.gz

++++++ libnl-3.3.0-rc1.tar.gz -> libnl-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnl-3.3.0-rc1/configure new/libnl-3.3.0/configure
--- old/libnl-3.3.0-rc1/configure       2017-03-06 21:44:55.000000000 +0100
+++ new/libnl-3.3.0/configure   2017-05-03 11:47:58.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libnl 3.3.0-rc1.
+# Generated by GNU Autoconf 2.69 for libnl 3.3.0.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='libnl'
 PACKAGE_TARNAME='libnl'
-PACKAGE_VERSION='3.3.0-rc1'
-PACKAGE_STRING='libnl 3.3.0-rc1'
+PACKAGE_VERSION='3.3.0'
+PACKAGE_STRING='libnl 3.3.0'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL='http://www.infradead.org/~tgr/libnl/'
 
@@ -1345,7 +1345,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 libnl 3.3.0-rc1 to adapt to many kinds of systems.
+\`configure' configures libnl 3.3.0 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1415,7 +1415,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libnl 3.3.0-rc1:";;
+     short | recursive ) echo "Configuration of libnl 3.3.0:";;
    esac
   cat <<\_ACEOF
 
@@ -1543,7 +1543,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libnl configure 3.3.0-rc1
+libnl configure 3.3.0
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1821,7 +1821,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libnl $as_me 3.3.0-rc1, which was
+It was created by libnl $as_me 3.3.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2687,7 +2687,7 @@
 
 # Define the identity of the package.
  PACKAGE='libnl'
- VERSION='3.3.0-rc1'
+ VERSION='3.3.0'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4037,9 +4037,9 @@
 
 MIC_VERSION=0
 
-LIBNL_GIT_SHA=bcdf874adb1f1895342c31eac784b8cca96a5a6b
+LIBNL_GIT_SHA=2e0c4ade6763589bd6a3099386e4435f0aaf2473
 
-LIBNL_VERSION=3.3.0-rc1
+LIBNL_VERSION=3.3.0
 
 
 LT_CURRENT=225
@@ -12933,53 +12933,6 @@
   test -n "$YACC" && break
 done
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
-$as_echo_n "checking for pow in -lm... " >&6; }
-if ${ac_cv_lib_m_pow+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char pow ();
-int
-main ()
-{
-return pow ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_m_pow=yes
-else
-  ac_cv_lib_m_pow=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
-$as_echo "$ac_cv_lib_m_pow" >&6; }
-if test "x$ac_cv_lib_m_pow" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBM 1
-_ACEOF
-
-  LIBS="-lm $LIBS"
-
-else
-  as_fn_error $? "libm is required" "$LINENO" 5
-fi
-
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming 
const" >&5
 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
@@ -13443,6 +13396,18 @@
 subdirs="$subdirs doc"
 
 
+for ac_func in strerror_l
+do :
+  ac_fn_c_check_func "$LINENO" "strerror_l" "ac_cv_func_strerror_l"
+if test "x$ac_cv_func_strerror_l" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_STRERROR_L 1
+_ACEOF
+
+fi
+done
+
+
 ac_config_files="$ac_config_files Makefile libnl-3.0.pc libnl-route-3.0.pc 
libnl-genl-3.0.pc libnl-nf-3.0.pc libnl-cli-3.0.pc libnl-xfrm-3.0.pc 
libnl-idiag-3.0.pc python/setup.py include/netlink/version.h"
 
 
@@ -14015,7 +13980,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libnl $as_me 3.3.0-rc1, which was
+This file was extended by libnl $as_me 3.3.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -14082,7 +14047,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libnl config.status 3.3.0-rc1
+libnl config.status 3.3.0
 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/libnl-3.3.0-rc1/configure.ac 
new/libnl-3.3.0/configure.ac
--- old/libnl-3.3.0-rc1/configure.ac    2017-03-06 21:00:04.000000000 +0100
+++ new/libnl-3.3.0/configure.ac        2017-05-03 10:36:13.000000000 +0200
@@ -40,7 +40,7 @@
 m4_define([libnl_lt_age],        [25])
 
 m4_define([libnl_version],
-         [libnl_major_version.libnl_minor_version.libnl_micro_version-rc1])
+         [libnl_major_version.libnl_minor_version.libnl_micro_version])
 
 AC_INIT(libnl, [libnl_version], [], [], [http://www.infradead.org/~tgr/libnl/])
 AC_CONFIG_HEADERS([lib/defs.h])
@@ -74,7 +74,6 @@
 AC_PROG_MKDIR_P
 AC_CHECK_PROGS(FLEX, 'flex')
 AC_CHECK_PROGS(YACC, 'bison -y')
-AC_CHECK_LIB([m], [pow], [], AC_MSG_ERROR([libm is required]))
 
 AC_C_CONST
 AC_C_INLINE
@@ -121,6 +120,8 @@
 
 AC_CONFIG_SUBDIRS([doc])
 
+AC_CHECK_FUNCS([strerror_l])
+
 AC_CONFIG_FILES([
 Makefile
 libnl-3.0.pc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnl-3.3.0-rc1/include/netlink/utils.h 
new/libnl-3.3.0/include/netlink/utils.h
--- old/libnl-3.3.0-rc1/include/netlink/utils.h 2017-02-27 17:42:54.000000000 
+0100
+++ new/libnl-3.3.0/include/netlink/utils.h     2017-05-03 10:37:45.000000000 
+0200
@@ -274,6 +274,12 @@
        NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN = 26,
 #define NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN
 
+       /**
+        * The library version is libnl3 3.3.0 or newer. This capability should 
never be backported.
+        */
+       NL_CAPABILITY_VERSION_3_3_0 = 27,
+#define NL_CAPABILITY_VERSION_3_3_0 NL_CAPABILITY_VERSION_3_3_0
+
        __NL_CAPABILITY_MAX,
        NL_CAPABILITY_MAX = (__NL_CAPABILITY_MAX - 1),
 #define NL_CAPABILITY_MAX NL_CAPABILITY_MAX
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnl-3.3.0-rc1/include/netlink/version.h 
new/libnl-3.3.0/include/netlink/version.h
--- old/libnl-3.3.0-rc1/include/netlink/version.h       2017-03-06 
21:44:58.000000000 +0100
+++ new/libnl-3.3.0/include/netlink/version.h   2017-05-03 11:48:01.000000000 
+0200
@@ -14,8 +14,8 @@
 
 /* Compile Time Versioning Information */
 
-#define LIBNL_STRING "libnl 3.3.0-rc1"
-#define LIBNL_VERSION "3.3.0-rc1"
+#define LIBNL_STRING "libnl 3.3.0"
+#define LIBNL_VERSION "3.3.0"
 
 #define LIBNL_VER_MAJ          3
 #define LIBNL_VER_MIN          3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnl-3.3.0-rc1/include/netlink-private/netlink.h 
new/libnl-3.3.0/include/netlink-private/netlink.h
--- old/libnl-3.3.0-rc1/include/netlink-private/netlink.h       2017-01-17 
18:47:28.000000000 +0100
+++ new/libnl-3.3.0/include/netlink-private/netlink.h   2017-03-23 
18:03:41.000000000 +0100
@@ -18,7 +18,6 @@
 #include <string.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <math.h>
 #include <time.h>
 #include <stdarg.h>
 #include <ctype.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnl-3.3.0-rc1/lib/defs.h.in 
new/libnl-3.3.0/lib/defs.h.in
--- old/libnl-3.3.0-rc1/lib/defs.h.in   2017-03-06 21:44:55.000000000 +0100
+++ new/libnl-3.3.0/lib/defs.h.in       2017-05-03 11:47:59.000000000 +0200
@@ -9,9 +9,6 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
-/* Define to 1 if you have the `m' library (-lm). */
-#undef HAVE_LIBM
-
 /* Define to 1 if you have the `pthread' library (-lpthread). */
 #undef HAVE_LIBPTHREAD
 
@@ -24,6 +21,9 @@
 /* Define to 1 if you have the <stdlib.h> header file. */
 #undef HAVE_STDLIB_H
 
+/* Define to 1 if you have the `strerror_l' function. */
+#undef HAVE_STRERROR_L
+
 /* Define to 1 if you have the <strings.h> header file. */
 #undef HAVE_STRINGS_H
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnl-3.3.0-rc1/lib/utils.c 
new/libnl-3.3.0/lib/utils.c
--- old/libnl-3.3.0-rc1/lib/utils.c     2017-02-27 17:42:54.000000000 +0100
+++ new/libnl-3.3.0/lib/utils.c 2017-05-03 10:38:08.000000000 +0200
@@ -30,7 +30,9 @@
 #include <netlink/utils.h>
 #include <linux/socket.h>
 #include <stdlib.h> /* exit() */
+#ifdef HAVE_STRERROR_L
 #include <locale.h>
+#endif
 
 /**
  * Global variable indicating the desired level of debugging output.
@@ -123,9 +125,10 @@
 
 const char *nl_strerror_l(int err)
 {
+       const char *buf;
+#ifdef HAVE_STRERROR_L
        int errno_save = errno;
        locale_t loc = newlocale(LC_MESSAGES_MASK, "", (locale_t)0);
-       const char *buf;
 
        if (loc == (locale_t)0) {
                if (errno == ENOENT)
@@ -140,6 +143,9 @@
        }
 
        errno = errno_save;
+#else
+       buf = strerror(err);
+#endif
        return buf;
 }
 /** @endcond */
@@ -399,7 +405,7 @@
        if (*p && strcmp(p, "%") != 0)
                return -NLE_INVAL;
 
-       return rint(d * NL_PROB_MAX);
+       return (long) (((d * NL_PROB_MAX) + 0.5));
 }
 
 /** @} */
@@ -1213,7 +1219,7 @@
                _NL_SET (3,
                        NL_CAPABILITY_VERSION_3_2_29,
                        NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN,
-                       0,
+                       NL_CAPABILITY_VERSION_3_3_0,
                        0,
                        0,
                        0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnl-3.3.0-rc1/src/lib/utils.c 
new/libnl-3.3.0/src/lib/utils.c
--- old/libnl-3.3.0-rc1/src/lib/utils.c 2016-12-10 16:04:32.000000000 +0100
+++ new/libnl-3.3.0/src/lib/utils.c     2017-03-12 14:36:09.000000000 +0100
@@ -81,6 +81,7 @@
                fprintf(stderr, "\n");
        } else {
                char *buf;
+#ifdef HAVE_STRERROR_L
                locale_t loc = newlocale(LC_MESSAGES_MASK, "", (locale_t)0);
                if (loc == (locale_t)0) {
                        if (errno == ENOENT)
@@ -91,9 +92,14 @@
                }
                if (loc != (locale_t)0)
                        buf = strerror_l(err, loc);
+#else
+               buf = strerror(err);
+#endif
                fprintf(stderr, "%s\n", buf);
+#ifdef HAVE_STRERROR_L
                if (loc != (locale_t)0)
                        freelocale(loc);
+#endif
        }
 
        exit(abs(err));


Reply via email to