commit robinhood for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2020-10-23 12:23:21

Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and  /work/SRC/openSUSE:Factory/.robinhood.new.3463 (New)


Package is "robinhood"

Fri Oct 23 12:23:21 2020 rev:9 rq:843572 version:3.1.6

Changes:

--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes  2020-10-22 
14:26:45.286991184 +0200
+++ /work/SRC/openSUSE:Factory/.robinhood.new.3463/robinhood.changes
2020-10-23 12:24:49.412903954 +0200
@@ -1,0 +2,5 @@
+Fri Oct 23 09:22:22 UTC 2020 - Christian Goll 
+
+- fixed license files 
+
+---



Other differences:
--
++ robinhood.spec ++
--- /var/tmp/diff_new_pack.cv9cRB/_old  2020-10-23 12:24:49.896905342 +0200
+++ /var/tmp/diff_new_pack.cv9cRB/_new  2020-10-23 12:24:49.900905353 +0200
@@ -166,7 +166,7 @@
 
 %files
 %defattr(-,root,root)
-%license COPYING
+%license LICENSE.en.txt LICENSE.fr.txt
 %doc ChangeLog README.md
 %doc ./doc/templates/
 




commit robinhood for openSUSE:Factory

2020-10-22 Thread root
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2020-10-22 14:25:17

Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and  /work/SRC/openSUSE:Factory/.robinhood.new.3463 (New)


Package is "robinhood"

Thu Oct 22 14:25:17 2020 rev:8 rq:843225 version:3.1.6

Changes:

--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes  2019-12-16 
15:20:44.30003 +0100
+++ /work/SRC/openSUSE:Factory/.robinhood.new.3463/robinhood.changes
2020-10-22 14:26:45.286991184 +0200
@@ -1,0 +2,14 @@
+Tue Oct 20 13:53:22 UTC 2020 - Christian Goll 
+
+- update to version 3.1.6 with following changes:
+  * fix build on Lustre 2.12.4
+  * check the filesystem returns consistent statfs values
+  * chglog_reader: reopen changelog in case of unexpected error
+  * chglog_reader: de-duplicate HSM STATE events (keep the latest)
+  * policy run time stat now includes initial DB request time
+  * fix the use of archive_id parameter in lhsm
+- fixed build on newer autoconf versions 
+  * added file make-test_confparam-depend-on-lustre.patch
+
+
+---

Old:

  robinhood-3.1.5.tar.gz

New:

  make-test_confparam-depend-on-lustre.patch
  robinhood-3.1.6.tar.gz



Other differences:
--
++ robinhood.spec ++
--- /var/tmp/diff_new_pack.T8ZUlK/_old  2020-10-22 14:26:45.930991762 +0200
+++ /var/tmp/diff_new_pack.T8ZUlK/_new  2020-10-22 14:26:45.934991766 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package robinhood
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,18 +23,20 @@
 %endif
 
 %define installdir_www %{_localstatedir}/lib/
+%define githash 1ca39f131bb35f120f458faf4e70779d5621e8cd
 
 Name:   robinhood
-Version:3.1.5
+Version:3.1.6
 Release:0
 Summary:Policy engine and reporting tool for large filesystems
 License:CECILL-C
 Group:  System/Monitoring
 URL:https://github.com/cea-hpc/robinhood
-Source0:
https://github.com/cea-hpc/robinhood/archive/%{version}.tar.gz#$/%{name}-%{version}.tar.gz
+Source0:
https://github.com/cea-hpc/robinhood/archive/%{githash}.tar.gz#/%{name}-%{version}.tar.gz
 Patch1: web-gui.patch
 Patch2: rbh-config.patch
 Patch3: avoid-version.patch
+Patch4: make-test_confparam-depend-on-lustre.patch
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  glib2-devel
@@ -99,11 +101,13 @@
 
 %prep
 
-%setup -q
+%setup -q -n %{name}-%{githash}
 %patch1
+# the macro {installdir_www} is not known in the patch
 sed -i 's,WWWROOT,%{installdir_www}robinhood,g' web_gui/robinhood.conf
 %patch2
 %patch3
+%patch4 -p1 
 # remove spurious executeable bits
 find ./doc/templates -type f -executable -exec chmod 644 {} +
 
@@ -111,7 +115,11 @@
 autoreconf -fi
 
 %build
-%configure
+%configure \
+  --enable-lustre \
+  --disable-static \
+  --enable-dependency-tracking \
+  %{nil}
 make %{?_smp_mflags}
 
 %install

++ make-test_confparam-depend-on-lustre.patch ++
>From 8458a500acf2c91550c75a842fa629870e329ac0 Mon Sep 17 00:00:00 2001
From: Christian Goll 
Date: Wed, 21 Oct 2020 11:49:56 +0200
Subject: [PATCH] make test_confparam depend on lustre

Change-Id: If8e1524b3bfcb692b6be2e6dd604072139d99019
---
 src/tests/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 4602d785..1b7b62ee 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -7,9 +7,9 @@ AM_LDFLAGS= -lpthread
 #EXTRA_DIST = my-project.supp
 
 check_PROGRAMS=test_uidgidcache test_params \
-test_confparam test_parse
+test_parse
 if LUSTRE
-check_PROGRAMS+=create_nostripe test_forcestripe
+check_PROGRAMS+=create_nostripe test_forcestripe test_confparam 
 endif
 TESTS=test_parsing.sh test_uidgidcache test_params test_confparam
 
-- 
2.26.2

++ robinhood-3.1.5.tar.gz -> robinhood-3.1.6.tar.gz ++
 1633 lines of diff (skipped)




commit robinhood for openSUSE:Factory

2019-12-16 Thread root
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2019-12-16 15:20:41

Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and  /work/SRC/openSUSE:Factory/.robinhood.new.4691 (New)


Package is "robinhood"

Mon Dec 16 15:20:41 2019 rev:7 rq:757261 version:3.1.5

Changes:

--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes  2019-09-13 
15:03:19.237282218 +0200
+++ /work/SRC/openSUSE:Factory/.robinhood.new.4691/robinhood.changes
2019-12-16 15:20:44.30003 +0100
@@ -1,0 +2,6 @@
+Mon Dec 16 07:17:40 UTC 2019 - Christian Goll 
+
+- added zlib-devel as BuildRequires, as openSUSE Leap 15.2 does 
+  not have them per default in the build environment.
+
+---



Other differences:
--
++ robinhood.spec ++
--- /var/tmp/diff_new_pack.4sBxlu/_old  2019-12-16 15:20:44.739129742 +0100
+++ /var/tmp/diff_new_pack.4sBxlu/_new  2019-12-16 15:20:44.739129742 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package robinhood
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
 Summary:Policy engine and reporting tool for large filesystems
 License:CECILL-C
 Group:  System/Monitoring
-Url:https://github.com/cea-hpc/robinhood
+URL:https://github.com/cea-hpc/robinhood
 Source0:
https://github.com/cea-hpc/robinhood/archive/%{version}.tar.gz#$/%{name}-%{version}.tar.gz
 Patch1: web-gui.patch
 Patch2: rbh-config.patch
@@ -44,6 +44,7 @@
 BuildRequires:  libtool
 BuildRequires:  mailx
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  zlib-devel
 Requires:   which
 Recommends: mysql-server
 Recommends: mysql-server-devel




commit robinhood for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2019-09-13 15:01:04

Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and  /work/SRC/openSUSE:Factory/.robinhood.new.7948 (New)


Package is "robinhood"

Fri Sep 13 15:01:04 2019 rev:6 rq:730394 version:3.1.5

Changes:

--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes  2019-09-04 
09:15:53.078933623 +0200
+++ /work/SRC/openSUSE:Factory/.robinhood.new.7948/robinhood.changes
2019-09-13 15:03:19.237282218 +0200
@@ -1,0 +2,5 @@
+Thu Sep 12 12:16:15 UTC 2019 - Christian Goll 
+
+- removed i586 builds 
+
+---



Other differences:
--
++ robinhood.spec ++
--- /var/tmp/diff_new_pack.sZWVNS/_old  2019-09-13 15:03:19.837282090 +0200
+++ /var/tmp/diff_new_pack.sZWVNS/_new  2019-09-13 15:03:19.837282090 +0200
@@ -51,6 +51,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
 Requires(post): %fillup_prereq
+ExcludeArch:i586
 
 %description
 The Robinhood Policy Engine is a tool to manage contents of large




commit robinhood for openSUSE:Factory

2019-09-04 Thread root
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2019-09-04 09:14:43

Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and  /work/SRC/openSUSE:Factory/.robinhood.new.7948 (New)


Package is "robinhood"

Wed Sep  4 09:14:43 2019 rev:5 rq:727931 version:3.1.5

Changes:

--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes  2018-10-23 
20:42:41.800378992 +0200
+++ /work/SRC/openSUSE:Factory/.robinhood.new.7948/robinhood.changes
2019-09-04 09:15:53.078933623 +0200
@@ -1,0 +2,12 @@
+Mon Sep  2 08:55:19 UTC 2019 - Ana Guerrero Lopez 
+
+- New version 3.1.5, please read ChangeLog for changes.
+- Update Source0 to use GitHub insterad of sourceforge.
+- New BuildRequires on jemalloc-devel
+- New binary rbh-rebind
+- Use %license
+- Patches removed, merged upstream:
+  * xattr-location.patch
+  * removed-check-ENOATTR.patch
+
+---

Old:

  removed-check-ENOATTR.patch
  robinhood-3.1.tar.gz
  xattr-location.patch

New:

  robinhood-3.1.5.tar.gz



Other differences:
--
++ robinhood.spec ++
--- /var/tmp/diff_new_pack.2sw6L9/_old  2019-09-04 09:15:54.510933424 +0200
+++ /var/tmp/diff_new_pack.2sw6L9/_new  2019-09-04 09:15:54.514933423 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package robinhood
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,22 +25,21 @@
 %define installdir_www %{_localstatedir}/lib/
 
 Name:   robinhood
-Version:3.1
+Version:3.1.5
 Release:0
 Summary:Policy engine and reporting tool for large filesystems
 License:CECILL-C
 Group:  System/Monitoring
 Url:https://github.com/cea-hpc/robinhood
-Source0:
https://sourceforge.net/projects/robinhood/files/robinhood/3.1/robinhood-%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:
https://github.com/cea-hpc/robinhood/archive/%{version}.tar.gz#$/%{name}-%{version}.tar.gz
 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:  glibc-devel
+BuildRequires:  jemalloc-devel
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libtool
 BuildRequires:  mailx
@@ -103,8 +102,6 @@
 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 {} +
 
@@ -159,7 +156,8 @@
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog README.md COPYING
+%license COPYING
+%doc ChangeLog README.md
 %doc ./doc/templates/
 
 %{_mandir}/man1/robinhood*
@@ -167,6 +165,7 @@
 %{_sbindir}/rbh-undelete
 %{_sbindir}/rbh_cksum.sh
 %{_sbindir}/rbh-config
+%{_sbindir}/rbh-rebind
 %{_sbindir}/robinhood
 %{_sbindir}/rcrobinhood
 

++ robinhood-3.1.tar.gz -> robinhood-3.1.5.tar.gz ++
 97780 lines of diff (skipped)




commit robinhood for openSUSE:Factory

2018-10-23 Thread root
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2018-10-23 20:41:47

Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and  /work/SRC/openSUSE:Factory/.robinhood.new (New)


Package is "robinhood"

Tue Oct 23 20:41:47 2018 rev:4 rq:643954 version:3.1

Changes:

--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes  2018-09-20 
11:42:31.800818885 +0200
+++ /work/SRC/openSUSE:Factory/.robinhood.new/robinhood.changes 2018-10-23 
20:42:41.800378992 +0200
@@ -1,0 +2,6 @@
+Tue Oct 23 12:39:32 UTC 2018 - cg...@suse.com
+
+-  moved packages tools webgui and tests from Applications/System
+   to System/Monitoring
+
+---



Other differences:
--
++ robinhood.spec ++
--- /var/tmp/diff_new_pack.EpIwQZ/_old  2018-10-23 20:42:42.344378342 +0200
+++ /var/tmp/diff_new_pack.EpIwQZ/_new  2018-10-23 20:42:42.344378342 +0200
@@ -68,7 +68,7 @@
 
 %package webgui
 Summary:Web interface to vizualize filesystems stats
-Group:  Applications/System
+Group:  System/Monitoring
 Requires:   apache2
 Requires:   php
 Requires:   php-mysql
@@ -82,7 +82,7 @@
 
 %package tools
 Summary:Tools for accessing the statistics
-Group:  Applications/System
+Group:  System/Monitoring
 
 %description tools
 The commanline tools for extracting the information out of the
@@ -91,7 +91,7 @@
 
 %package tests
 Summary:Internal tests for robinhood
-Group:  Applications/System
+Group:  System/Monitoring
 
 %description tests
 Tests and examples for the robinhood policy engine.




commit robinhood for openSUSE:Factory

2018-09-20 Thread root
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 - cg...@suse.com
+
+- 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 
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 
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/robin

commit robinhood for openSUSE:Factory

2017-11-24 Thread root
Hello community,

here is the log from the commit of package robinhood for openSUSE:Factory 
checked in at 2017-11-24 10:55:40

Comparing /work/SRC/openSUSE:Factory/robinhood (Old)
 and  /work/SRC/openSUSE:Factory/.robinhood.new (New)


Package is "robinhood"

Fri Nov 24 10:55:40 2017 rev:2 rq:544900 version:3.1

Changes:

--- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes  2017-10-26 
18:43:36.586119520 +0200
+++ /work/SRC/openSUSE:Factory/.robinhood.new/robinhood.changes 2017-11-24 
10:55:45.397466631 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:53:58 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ robinhood.spec ++
--- /var/tmp/diff_new_pack.e00KYA/_old  2017-11-24 10:55:47.681383215 +0100
+++ /var/tmp/diff_new_pack.e00KYA/_new  2017-11-24 10:55:47.681383215 +0100
@@ -17,6 +17,11 @@
 
 
 #
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %define installdir_www %{_localstatedir}/lib/
 
 Name:   robinhood
@@ -29,15 +34,15 @@
 Source0:
https://sourceforge.net/projects/robinhood/files/robinhood/3.1/robinhood-%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch1: web-gui.patch
 Patch2: rbh-config.patch
-patch3: avoid-version.patch
+Patch3: avoid-version.patch
 BuildRequires:  automake
+BuildRequires:  fdupes
 BuildRequires:  glib2-devel
 BuildRequires:  libattr-devel
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libtool
 BuildRequires:  mailx
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  fdupes
 Requires:   which
 Recommends: mysql-server
 Recommends: mysql-server-devel
@@ -62,10 +67,10 @@
 %package webgui
 Summary:Web interface to vizualize filesystems stats
 Group:  Applications/System
+Requires:   apache2
 Requires:   php
 Requires:   php-mysql
 Requires:   php-pdo
-Requires:   apache2 
 BuildRequires:  apache2 
 Requires:   mod_php_any
 
@@ -126,8 +131,8 @@
 install -m 644 scripts/robinhood.service 
%{buildroot}/%{_unitdir}/robinhood.service
 install -m 644 scripts/robinhood@.service 
%{buildroot}/%{_unitdir}/robinhood@.service
 ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcrobinhood 
-mkdir -p %{buildroot}/%{_localstatedir}/adm/fillup-templates/
-install -m 644 scripts/sysconfig_robinhood 
%{buildroot}/%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
+mkdir -p %{buildroot}/%{_fillupdir}/
+install -m 644 scripts/sysconfig_robinhood 
%{buildroot}/%{_fillupdir}/sysconfig.%{name}
 # remove duplicates in tests
 %fdupes -s  %{buildroot}/%{_datadir}/robinhood/tests
 # Ugly fix to add right shebang line
@@ -166,7 +171,7 @@
 
 %{_unitdir}/robinhood.service
 %{_unitdir}/robinhood@.service
-%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
+%{_fillupdir}/sysconfig.%{name}
 
 %dir %{_sysconfdir}/robinhood.d/
 
@@ -179,7 +184,6 @@
 
 %dir %{_sysconfdir}/robinhood.d/
 
-
 %files webgui
 %defattr(-,wwwrun,www)
 %{installdir_www}/robinhood