[icinga-checkins] icinga.org: icinga2/master: Add build dependency for yajl in the spec file

git at icinga.org git at icinga.org
Wed Nov 26 16:40:12 CET 2014


Module: icinga2
Branch: master
Commit: 16b044bda4ff3a06210fba8c3c04a535b5b25f29
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=16b044bda4ff3a06210fba8c3c04a535b5b25f29

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Wed Nov 26 16:35:29 2014 +0100

Add build dependency for yajl in the spec file

fixes #7463

---

 icinga2.spec |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/icinga2.spec b/icinga2.spec
index e33df88..0bae629 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



More information about the icinga-checkins mailing list