forked from pool/munin
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
This commit is contained in:
parent
c285c516e2
commit
01c5c6e55b
@ -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
|
||||
|
||||
|
10
munin.spec
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user