From 84a02c1d7f4f995c7b09cb666762df9705eec0ac Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 21 Apr 2015 15:10:55 +0200 Subject: [PATCH] Disable (unused) build tests for RPM-based distros --- icinga2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/icinga2.spec b/icinga2.spec index 82302d5ac..38defdd83 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -215,6 +215,9 @@ CMAKE_OPTS="$CMAKE_OPTS -DBOOST_LIBRARYDIR=/usr/lib/boost153 \ -DBUILD_TESTING=FALSE \ -DBoost_NO_BOOST_CMAKE=TRUE" %endif +%if 0%{?el6} || 0%{?rhel} == 6 || "%{?dist}" == ".el6" +CMAKE_OPTS="$CMAKE_OPTS -DBUILD_TESTING=FALSE" +%endif %endif %if "%{_vendor}" != "suse" -- 2.50.1