From 6a27d5e3173217604fc10231ce19ed1f05fac646 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Sat, 3 Nov 2012 18:44:12 -0400 Subject: [PATCH] * put the munin define in the right location --- unbound.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unbound.spec b/unbound.spec index b74cb35..61f0033 100644 --- a/unbound.spec +++ b/unbound.spec @@ -135,10 +135,10 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/unbound.service install -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/unbound-keygen.service install -p -m 0755 %{SOURCE2} %{buildroot}%{_sysconfdir}/unbound install -p -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/unbound -%if %{munin} install -p -m 0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/sysconfig/unbound install -d 0755 %{buildroot}%{_sysconfdir}/cron.monthly install -p -m 0755 %{SOURCE15} %{buildroot}%{_sysconfdir}/cron.monthly/unbound-anchor +%if %{munin} # Install munin plugin and its softlinks install -d 0755 %{buildroot}%{_sysconfdir}/munin/plugin-conf.d install -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/munin/plugin-conf.d/unbound