Hello community, here is the log from the commit of package glusterfs for openSUSE:Factory checked in at 2017-11-16 13:59:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glusterfs (Old) and /work/SRC/openSUSE:Factory/.glusterfs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glusterfs" Thu Nov 16 13:59:19 2017 rev:19 rq:541860 version:3.8.15 Changes: -------- --- /work/SRC/openSUSE:Factory/glusterfs/glusterfs.changes 2017-11-10 14:36:58.524379990 +0100 +++ /work/SRC/openSUSE:Factory/.glusterfs.new/glusterfs.changes 2017-11-16 13:59:20.589259011 +0100 @@ -1,0 +2,6 @@ +Mon Nov 13 07:49:33 CET 2017 - [email protected] + +- glusterfs-tirpc.diff: fallback to libtirpc if there is no sunrpc + support in glibc + +------------------------------------------------------------------- New: ---- glusterfs-tirpc.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glusterfs.spec ++++++ --- /var/tmp/diff_new_pack.kmrUVg/_old 2017-11-16 13:59:21.621221618 +0100 +++ /var/tmp/diff_new_pack.kmrUVg/_new 2017-11-16 13:59:21.625221473 +0100 @@ -26,6 +26,7 @@ #Git-Clone: git://github.com/gluster/glusterfs #Git-Clone: git://github.com/fvzwieten/lsgvt Source: http://download.gluster.org/pub/gluster/glusterfs/3.8/%version/%name-%version.tar.gz +Patch: glusterfs-tirpc.diff Patch1: glusterfs-date.diff BuildRequires: acl-devel BuildRequires: autoconf @@ -38,9 +39,11 @@ BuildRequires: pkgconfig BuildRequires: python2 BuildRequires: readline-devel +BuildRequires: rpcgen BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(fuse) >= 2.6.5 BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libtirpc) BuildRequires: pkgconfig(liburcu) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(python) @@ -147,6 +150,7 @@ %prep %setup -q +%patch -p0 %patch1 -p1 %build ++++++ glusterfs-tirpc.diff ++++++ --- configure.ac +++ configure.ac 2017/11/13 06:44:32 @@ -399,6 +399,21 @@ AC_CHECK_HEADERS([openssl/ecdh.h]) +dnl RPC library +AC_CHECK_FUNC([xdrmem_create],[], AC_SEARCH_LIBS([xdrmem_create],[rpc xdr nsl tirpc])) +dnl Cygwin/recent glibc requires -I/usr/include/tirpc for <rpc/rpc.h> +old_CFLAGS=$CFLAGS +AC_CACHE_CHECK([where to find <rpc/rpc.h>], [lv_cv_xdr_cflags], [ + for add_CFLAGS in '' '-I/usr/include/tirpc' 'missing'; do + if test x"$add_CFLAGS" = xmissing; then + lv_cv_xdr_cflags=missing; break + fi + CFLAGS="$old_CFLAGS $add_CFLAGS" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <rpc/rpc.h> + ]])], [lv_cv_xdr_cflags=${add_CFLAGS:-none}; break]) + done +]) + dnl Math library AC_CHECK_LIB([m], [pow], [MATH_LIB='-lm'], [MATH_LIB='']) AC_SUBST(MATH_LIB)
