mirror of https://github.com/Icinga/icinga2.git
Build fix for RHEL 6
This commit is contained in:
parent
ee202b2fa5
commit
fc6e5610f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue