Hello community, here is the log from the commit of package dar for openSUSE:Factory checked in at 2014-06-16 21:25:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dar (Old) and /work/SRC/openSUSE:Factory/.dar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dar" Changes: -------- --- /work/SRC/openSUSE:Factory/dar/dar.changes 2013-08-27 20:40:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dar.new/dar.changes 2014-06-16 21:25:56.000000000 +0200 @@ -1,0 +2,18 @@ +Sat Jun 14 10:55:03 UTC 2014 - tchva...@suse.com + +- Drop unused patch dar.diff. Is replaced by sed in spec. + +------------------------------------------------------------------- +Mon Jun 2 02:05:39 UTC 2014 - crrodrig...@opensuse.org + +- Also drop libattr from the -devel package requires + +------------------------------------------------------------------- +Mon Jun 2 01:08:27 UTC 2014 - crrodrig...@opensuse.org + +- dar-use-libc-xattr.patch extended attribute functions + live in glibc, since approx 10 years and have to be used + instead of those in libattr whenever the rest of its api is + not used. + +------------------------------------------------------------------- Old: ---- dar.diff New: ---- dar-use-libc-xattr.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dar.spec ++++++ --- /var/tmp/diff_new_pack.7DD4T4/_old 2014-06-16 21:25:57.000000000 +0200 +++ /var/tmp/diff_new_pack.7DD4T4/_new 2014-06-16 21:25:57.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package dar # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -26,11 +26,11 @@ Source0: %{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE dar-DARWIN.patch dims...@opensuse.org -- Something goes wrong in the build and the installed config.h is corrupted (due to grep DAR, which also matches DARWIN, but the #endif is not matched. Patch in this form not suitable for upstream. Patch1: dar-DARWIN.patch +Patch2: dar-use-libc-xattr.patch BuildRequires: e2fsprogs-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gettext-tools -BuildRequires: libattr-devel BuildRequires: libbz2-devel BuildRequires: libgcrypt-devel BuildRequires: libtool @@ -82,7 +82,6 @@ Summary: Backup and Restore Application Group: Development/Languages/C and C++ Requires: glibc-devel -Requires: libattr-devel Requires: libbz2-devel Requires: libdar5000 = %{version} Requires: openssl-devel @@ -103,6 +102,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %if 0%{suse_version} > 1200 sed -i -e 's,^AM_GNU_GETTEXT_VERSION.*,-AM_GNU_GETTEXT_VERSION(0.18),' configure.ac %else ++++++ dar-use-libc-xattr.patch ++++++ --- dar-2.4.10.orig/configure.ac +++ dar-2.4.10/configure.ac @@ -294,15 +294,15 @@ AC_ARG_ENABLE( [ea-support], [ AC_MSG_CHECKING([for Extended Attribute support]) AC_MSG_RESULT([disabled]) ], - [ AC_CHECK_HEADERS([attr/xattr.h]) - AC_CHECK_LIB(attr, [lgetxattr], [], []) + [ AC_CHECK_HEADERS([sys/xattr.h]) + AC_SEARCH_LIBS([lgetxattr], [attr]) AC_MSG_CHECKING([for Unix Extended Attribute support]) AC_LINK_IFELSE(AC_LANG_PROGRAM([[extern "C" { #if HAVE_SYS_TYPES_H #include <sys/types.h> #endif - #if HAVE_ATTR_XATTR_H - #include <attr/xattr.h> + #if HAVE_SYS_XATTR_H + #include <sys/xattr.h> #endif }]], [ lgetxattr((char *)0, (char *)0, (void *)0, 0); ]), --- dar-2.4.10.orig/src/libdar/ea_filesystem.cpp +++ dar-2.4.10/src/libdar/ea_filesystem.cpp @@ -61,6 +61,10 @@ char *strchr (), *strrchr (); #endif } // end extern "C" +#ifndef ENOATTR +# define ENOATTR ENODATA /* No such attribute */ +#endif + #include "ea_filesystem.hpp" #include "ea.hpp" #include "tools.hpp" -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org