From: Gunnar Beutner Date: Tue, 21 Apr 2015 13:10:55 +0000 (+0200) Subject: Disable (unused) build tests for RPM-based distros X-Git-Tag: v2.4.0~705 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84a02c1d7f4f995c7b09cb666762df9705eec0ac;p=icinga2 Disable (unused) build tests for RPM-based distros --- 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"