[check-mk/f19] It should be MK_{LIBDIR,CONFDIR}.

averi averi at fedoraproject.org
Sat Aug 31 11:00:36 UTC 2013


commit ccc1b410d48e1db80a99254e90c8b1d9deaeac47
Author: Andrea Veri <av at gnome.org>
Date:   Sat Aug 31 12:59:27 2013 +0200

    It should be MK_{LIBDIR,CONFDIR}.

 check-mk.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/check-mk.spec b/check-mk.spec
index 48ea07c..6fabea0 100644
--- a/check-mk.spec
+++ b/check-mk.spec
@@ -99,8 +99,8 @@ install -d -m 755 %{buildroot}%{_sysconfdir}/check-mk-agent
 install -m 644 logwatch.cfg %{buildroot}%{_sysconfdir}/check-mk-agent
 
 perl -pi \
-    -e 's|LIBDIR="/usr/lib/check_mk_agent"|LIBDIR="%{_datadir}/check-mk-agent"|;' \
-    -e 's|CONFDIR="/etc/check_mk"|CONFDIR="%{_sysconfdir}/check-mk-agent"|;' \
+    -e 's|MK_LIBDIR="/usr/lib/check_mk_agent"|MK_LIBDIR="%{_datadir}/check-mk-agent"|;' \
+    -e 's|MK_CONFDIR="/etc/check_mk"|MK_CONFDIR="%{_sysconfdir}/check-mk-agent"|;' \
     %{buildroot}%{_bindir}/check_mk_agent
 
 # Server, livestatus and other modules installation


More information about the scm-commits mailing list