SHA256
1
0
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:
Wolfgang Rosenauer 2017-06-04 10:33:27 +00:00 committed by Git OBS Bridge
parent c285c516e2
commit 01c5c6e55b
2 changed files with 18 additions and 0 deletions

View File

@ -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 Thu Mar 2 13:45:33 UTC 2017 - aj@ajaissle.de

View File

@ -120,6 +120,10 @@ Requires: sysstat
%else %else
Requires(pre): %insserv_prereq Requires(pre): %insserv_prereq
%endif %endif
%if 0%{?suse_version} >= 1330
Requires(pre): group(nobody)
Requires(pre): user(nobody)
%endif
Recommends: logrotate Recommends: logrotate
BuildArch: noarch BuildArch: noarch
@ -356,6 +360,9 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/munin-node.conf
%{_mandir}/man8/munin.8.gz %{_mandir}/man8/munin.8.gz
%attr(0750, munin, munin) %dir %{logdir} %attr(0750, munin, munin) %dir %{logdir}
%attr(0755, munin, munin) %dir %{dbdir} %attr(0755, munin, munin) %dir %{dbdir}
%if 0%{?suse_version} >= 1330
%ghost /run/munin
%endif
%files node %files node
%defattr(-, root, root) %defattr(-, root, root)
@ -445,5 +452,8 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/munin-node.conf
%attr(0750, munin, munin) %dir %{logdir} %attr(0750, munin, munin) %dir %{logdir}
%attr(0755, munin, munin) %dir %{dbdir} %attr(0755, munin, munin) %dir %{dbdir}
%attr(0775, nobody, nobody) %dir %{dbdir}/plugin-state %attr(0775, nobody, nobody) %dir %{dbdir}/plugin-state
%if 0%{?suse_version} >= 1330
%ghost /run/munin
%endif
%changelog %changelog