diff --git a/munin.changes b/munin.changes index 301b6a7..f27d955 100644 --- a/munin.changes +++ b/munin.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jun 2 15:43:10 UTC 2017 - suse-beta@cboltz.de + +- add Requires(pre): user(nobody) and group(nobody) to munin-node to fix + Tumbleweed build +- add %ghost /run/munin to munin and munin-node to fix a rpmlint warning + (Tumbleweed only, would cause build failures on SLE11) + ------------------------------------------------------------------- Thu Mar 2 13:45:33 UTC 2017 - aj@ajaissle.de diff --git a/munin.spec b/munin.spec index fbfc24d..dbe7113 100644 --- a/munin.spec +++ b/munin.spec @@ -120,6 +120,10 @@ Requires: sysstat %else Requires(pre): %insserv_prereq %endif +%if 0%{?suse_version} >= 1330 +Requires(pre): group(nobody) +Requires(pre): user(nobody) +%endif Recommends: logrotate BuildArch: noarch @@ -356,6 +360,9 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/munin-node.conf %{_mandir}/man8/munin.8.gz %attr(0750, munin, munin) %dir %{logdir} %attr(0755, munin, munin) %dir %{dbdir} +%if 0%{?suse_version} >= 1330 +%ghost /run/munin +%endif %files node %defattr(-, root, root) @@ -445,5 +452,8 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/munin-node.conf %attr(0750, munin, munin) %dir %{logdir} %attr(0755, munin, munin) %dir %{dbdir} %attr(0775, nobody, nobody) %dir %{dbdir}/plugin-state +%if 0%{?suse_version} >= 1330 +%ghost /run/munin +%endif %changelog