Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2018-09-20 11:42:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and      /work/SRC/openSUSE:Factory/.robinhood.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "robinhood"

Thu Sep 20 11:42:29 2018 rev:3 rq:636633 version:3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes      2017-11-24 
10:55:45.397466631 +0100
+++ /work/SRC/openSUSE:Factory/.robinhood.new/robinhood.changes 2018-09-20 
11:42:31.800818885 +0200
@@ -1,0 +2,10 @@
+Wed Sep 12 10:55:02 UTC 2018 - [email protected]
+
+- removed dependency on libattr-devel as xattr.h is now part
+  of glibc-devel
+- added patch xattr-location.patch which chnages the include from 
+  attr/xattr.h to sys/xattr.h 
+- added patch removed-check-ENOATTR.patch which removes check for
+  error ENOATTR which is a cpoy of allreay checked error
+  
+-------------------------------------------------------------------

New:
----
  removed-check-ENOATTR.patch
  xattr-location.patch

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

Other differences:
------------------
++++++ robinhood.spec ++++++
--- /var/tmp/diff_new_pack.sSQHiT/_old  2018-09-20 11:42:32.400818534 +0200
+++ /var/tmp/diff_new_pack.sSQHiT/_new  2018-09-20 11:42:32.408818530 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package robinhood
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,10 +35,12 @@
 Patch1:         web-gui.patch
 Patch2:         rbh-config.patch
 Patch3:         avoid-version.patch
+Patch4:         xattr-location.patch
+Patch5:         removed-check-ENOATTR.patch
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  glib2-devel
-BuildRequires:  libattr-devel
+BuildRequires:  glibc-devel
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libtool
 BuildRequires:  mailx
@@ -101,6 +103,8 @@
 sed -i 's,WWWROOT,%{installdir_www}robinhood,g' web_gui/robinhood.conf
 %patch2
 %patch3
+%patch4 -p 2
+%patch5 -p 2
 # remove spurious executeable bits
 find ./doc/templates -type f -executable -exec chmod 644 {} +
 

++++++ removed-check-ENOATTR.patch ++++++
>From 5adea178fa062c21d3ade671bfc7a6d8eb56d118 Mon Sep 17 00:00:00 2001
From: Christian Goll <[email protected]>
Date: Wed, 12 Sep 2018 11:37:06 +0200
Subject: [PATCH 2/2] removed check ENOATTR

---
 robinhood-3.1/src/policies/policy_matching.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/robinhood-3.1/src/policies/policy_matching.c 
b/robinhood-3.1/src/policies/policy_matching.c
index 5145d05..fce50cb 100644
--- a/robinhood-3.1/src/policies/policy_matching.c
+++ b/robinhood-3.1/src/policies/policy_matching.c
@@ -1196,7 +1196,7 @@ static policy_match_t eval_condition(const entry_id_t 
*p_entry_id,
             /* retrieve xattr value */
             rc = lgetxattr(entry_path, p_triplet->attr_name, value, 1024);
             if (rc < 0) {
-                if (errno == ENOATTR || errno == ENODATA || errno == ENOENT)
+                if (errno == ENODATA || errno == ENOENT)
                     /* empty string == no attribute */
                     strcpy(value, "");
                 else if (errno == ENOTSUP) {
-- 
2.16.4

++++++ xattr-location.patch ++++++
>From 1799b57f18410d62deabeee9e4ce475be2a64534 Mon Sep 17 00:00:00 2001
From: Christian Goll <[email protected]>
Date: Wed, 12 Sep 2018 11:03:14 +0200
Subject: [PATCH] xattr location

---
 robinhood-3.1/configure.ac                   | 2 +-
 robinhood-3.1/src/common/lustre_tools.c      | 2 +-
 robinhood-3.1/src/modules/lhsm.c             | 2 +-
 robinhood-3.1/src/policies/policy_matching.c | 2 +-
 robinhood-3.1/src/tests/test_forcestripe.c   | 2 +-
 robinhood-3.1/src/tools/ost_fids_remap.c     | 2 +-
 robinhood-3.1/src/tools/read_lovea.c         | 2 +-
 robinhood-3.1/src/tools/set_lovea.c          | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/robinhood-3.1/configure.ac b/robinhood-3.1/configure.ac
index 754517d..9488c5b 100644
--- a/robinhood-3.1/configure.ac
+++ b/robinhood-3.1/configure.ac
@@ -383,7 +383,7 @@ fi # end of Lustre support
 AC_SUBST(DV_CMD)
 AC_SUBST(INPUT_OPT)
 
-AC_CHECK_HEADERS([attr/xattr.h],[],[AC_MSG_ERROR([libattr-devel is not 
installed.])])
+AC_CHECK_HEADERS([sys/xattr.h],[],[AC_MSG_ERROR([glibc-devel is not 
installed.])])
 
 AC_CHECK_LIB([pthread], [pthread_getsequence_np], 
[have_pthread_getsequence_np="yes"],[have_pthread_getsequence_np="no"])
     test "x$have_pthread_getsequence_np" = "xyes" && 
AC_DEFINE(HAVE_PTHREAD_GETSEQUENCE_NP, 1, [pthread_getsequence_np function 
exists])
diff --git a/robinhood-3.1/src/common/lustre_tools.c 
b/robinhood-3.1/src/common/lustre_tools.c
index 37f1088..5cca550 100644
--- a/robinhood-3.1/src/common/lustre_tools.c
+++ b/robinhood-3.1/src/common/lustre_tools.c
@@ -32,7 +32,7 @@
 #include <fcntl.h>
 
 #ifdef _HAVE_FID
-#include <attr/xattr.h> /* needed by Lustre_GetNameParent() */
+#include <sys/xattr.h> /* needed by Lustre_GetNameParent() */
 #endif
 
 #include "lustre_extended_types.h"
diff --git a/robinhood-3.1/src/modules/lhsm.c b/robinhood-3.1/src/modules/lhsm.c
index fdab312..31d9fb7 100644
--- a/robinhood-3.1/src/modules/lhsm.c
+++ b/robinhood-3.1/src/modules/lhsm.c
@@ -31,7 +31,7 @@
 #include <stdbool.h>
 #include <glib.h>
 #include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 
 /* config block name */
 #define LHSM_BLOCK "lhsm_config"
diff --git a/robinhood-3.1/src/policies/policy_matching.c 
b/robinhood-3.1/src/policies/policy_matching.c
index 766dbcb..5145d05 100644
--- a/robinhood-3.1/src/policies/policy_matching.c
+++ b/robinhood-3.1/src/policies/policy_matching.c
@@ -34,7 +34,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <time.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 
 #define POLICY_TAG "Policy"
 
diff --git a/robinhood-3.1/src/tests/test_forcestripe.c 
b/robinhood-3.1/src/tests/test_forcestripe.c
index b15f4ff..99755db 100644
--- a/robinhood-3.1/src/tests/test_forcestripe.c
+++ b/robinhood-3.1/src/tests/test_forcestripe.c
@@ -15,7 +15,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <linux/limits.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 
 #include "lustre_extended_types.h"
 
diff --git a/robinhood-3.1/src/tools/ost_fids_remap.c 
b/robinhood-3.1/src/tools/ost_fids_remap.c
index c4fb71d..d98c827 100644
--- a/robinhood-3.1/src/tools/ost_fids_remap.c
+++ b/robinhood-3.1/src/tools/ost_fids_remap.c
@@ -22,7 +22,7 @@
 
 #include <stdio.h>
 #include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 #include <stdlib.h>
 #include <sys/param.h>
 #include <search.h>
diff --git a/robinhood-3.1/src/tools/read_lovea.c 
b/robinhood-3.1/src/tools/read_lovea.c
index a305063..cea3f59 100644
--- a/robinhood-3.1/src/tools/read_lovea.c
+++ b/robinhood-3.1/src/tools/read_lovea.c
@@ -6,7 +6,7 @@
 #include <stdlib.h>
 #include <stdint.h>
 #include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 #include "lustre_extended_types.h"
 
 static const char * pattern2str(uint32_t pattern)
diff --git a/robinhood-3.1/src/tools/set_lovea.c 
b/robinhood-3.1/src/tools/set_lovea.c
index 7ff772b..dbaec16 100644
--- a/robinhood-3.1/src/tools/set_lovea.c
+++ b/robinhood-3.1/src/tools/set_lovea.c
@@ -20,7 +20,7 @@
 
 #include <stdio.h>
 #include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 #include <stdlib.h>
 #include <sys/param.h>
 
-- 
2.16.4


Reply via email to