From 01c5c6e55bed0f65a9033f249181a959a8241a10f7ccdface00f26f22a8e6a4e Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Sun, 4 Jun 2017 10:33:27 +0000 Subject: [PATCH] Accepting request 500744 from home:cboltz:branches:server:monitoring - 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) Please forward these changes to Factory to fix the build there ;-) OBS-URL: https://build.opensuse.org/request/show/500744 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/munin?expand=0&rev=37 --- munin.changes | 8 ++++++++ munin.spec | 10 ++++++++++ 2 files changed, 18 insertions(+) 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