Use the %build_icinga_org RPM macro for package dependencies which are specific to build.icinga.org

fixes #8128
This commit is contained in:
Gunnar Beutner 2015-02-05 10:16:05 +01:00
parent 06a262f7db
commit 090aae0630
1 changed files with 2 additions and 2 deletions

View File

@ -98,11 +98,11 @@ BuildRequires: flex >= 2.5.35
BuildRequires: bison
BuildRequires: make
%if "%{_vendor}" == "redhat" && (0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5")
%if 0%{?build_icinga_org} && "%{_vendor}" == "redhat" && (0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5")
# el5 requires packages.icinga.org
BuildRequires: boost153-devel
%else
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1310
%if 0%{?build_icinga_org} && "%{_vendor}" == "suse" && 0%{?suse_version} < 1310
# sles 11 sp3 requires packages.icinga.org
BuildRequires: boost153-devel
%else