icinga2: Make sure `logger` is available on SUSE systems
It is required to log the deprecated warning of the classic ui package. On pre systemd distributions `logger` is part of util-linux which should always be installed I suppose, that's why I did not add an else clause.
This commit is contained in:
parent
59b8d34311
commit
808b0e30a0
|
@ -232,6 +232,11 @@ Requires: %{apachename}
|
|||
Requires: %{name} = %{version}-%{release}
|
||||
%if "%{_vendor}" == "suse"
|
||||
Recommends: icinga-www
|
||||
# for running logger to log the deprecated warning
|
||||
%if 0%{?use_systemd}
|
||||
BuildRequires:util-linux-systemd
|
||||
Requires: util-linux-systemd
|
||||
%endif
|
||||
%endif
|
||||
Provides: icinga-classicui-config
|
||||
Conflicts: icinga-gui-config
|
||||
|
|
Loading…
Reference in New Issue