icinga2: Add dependency to monitoring-plugins-common

Since we ship a plugin now and the directory needs to be managed. Otherwise
building the package fails because installed directories are not
referenced by RPM.

Signed-off-by: Markus Frosch <markus.frosch@icinga.com>
This commit is contained in:
Tim Hardeck 2017-08-24 14:35:31 +02:00 committed by Markus Frosch
parent 808b0e30a0
commit 624c2b15c0
1 changed files with 9 additions and 7 deletions

View File

@ -151,16 +151,18 @@ Provides binaries for Icinga 2 Core.
Summary: Common Icinga 2 configuration
Group: Applications/System
%if (0%{?amzn} || 0%{?fedora} || 0%{?rhel})
Requires(pre): shadow-utils
Requires(post): shadow-utils
Requires(pre): shadow-utils
Requires(post): shadow-utils
%endif
%if "%{_vendor}" == "suse"
Requires(pre): shadow
Requires(post): shadow
Requires(pre): shadow
Requires(post): shadow
# Coreutils is added because of autoyast problems reported
Requires(pre): coreutils
Requires(post): coreutils
Recommends: logrotate
Requires(pre): coreutils
Requires(post): coreutils
BuildRequires: monitoring-plugins-common
Requires: monitoring-plugins-common
Recommends: logrotate
%endif
%description common