diff --git a/icinga2.spec b/icinga2.spec index e33df8826..0bae629f9 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -84,6 +84,9 @@ Group: Applications/System PreReq: permissions Provides: monitoring_daemon Recommends: monitoring-plugins +%if 0%{?suse_version} >= 1310 +BuildRequires: libyajl-devel +%endif %endif BuildRequires: openssl-devel BuildRequires: gcc-c++ @@ -100,6 +103,10 @@ BuildRequires: boost141-devel BuildRequires: boost-devel >= 1.41 %endif +%if 0%{?el6} +BuildRequires: yajl-devel +%endif + %if 0%{?use_systemd} BuildRequires: systemd Requires: systemd