]> granicus.if.org Git - icinga2/commitdiff
Build fix for RHEL 6
authorGunnar Beutner <gunnar@beutner.name>
Tue, 21 Apr 2015 11:28:02 +0000 (13:28 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 21 Apr 2015 11:48:51 +0000 (13:48 +0200)
icinga2.spec

index abac6aee18fa9500a1d0ff1ec00c04cb67483051..82302d5ac69f70a727f2d423a22269bbba1d9ace 100644 (file)
@@ -100,8 +100,8 @@ BuildRequires: flex >= 2.5.35
 BuildRequires: bison
 BuildRequires: make
 
-%if 0%{?build_icinga_org} && "%{_vendor}" == "redhat" && (0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5")
-# el5 requires packages.icinga.org
+%if 0%{?build_icinga_org} && "%{_vendor}" == "redhat" && ((0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5") || (0%{?el6} || 0%{?rhel} == 6 || "%{?dist}" == ".el6"))
+# el5 and el6 require packages.icinga.org
 BuildRequires: boost153-devel
 %else
 %if 0%{?build_icinga_org} && "%{_vendor}" == "suse" && 0%{?suse_version} < 1310