File 0001-var-run-var-lib.patch of Package sblim-gather
From f08aea6f4789d00bc0cc19f6a5ec9554089c5021 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Mon, 2 Feb 2015 21:57:05 +0100
Subject: [PATCH] /var/run -> /var/lib
---
Makefile.am | 2 +-
Makefile.in | 2 +-
comms/mcdefs.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 4bb82a4287b8..56785821f523 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-z
EXTRA_DIST=
# gatherer run dir
-gatherrundir=$(localstatedir)/run/gather
+gatherrundir=$(localstatedir)/lib/gather
# docdir defines where the documentation goes
docdir=$(datadir)/doc/$(PACKAGE)-$(VERSION)
diff --git a/Makefile.in b/Makefile.in
index 039c12ed9486..72035ebba27d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -866,7 +866,7 @@ EXTRA_DIST = $(doc_DATA) util/test.cfg gatherer.init-suse.in \
$(PACKAGE).spec $(PACKAGE).rh.spec samples
# gatherer run dir
-gatherrundir = $(localstatedir)/run/gather
+gatherrundir = $(localstatedir)/lib/gather
# initdir defines location of init scripts
initdir = $(sysconfdir)/init.d
diff --git a/comms/mcdefs.h b/comms/mcdefs.h
index 98d6f4c971d2..f432aa7f24e5 100644
--- a/comms/mcdefs.h
+++ b/comms/mcdefs.h
@@ -35,7 +35,7 @@ extern "C" {
#ifndef GATHER_RUNDIR
-#define GATHER_RUNDIR "/var/run/gather"
+#define GATHER_RUNDIR "/var/lib/gather"
#endif
#define MC_SOCKET GATHER_RUNDIR "/.%s-socket"
--
2.1.2