]> granicus.if.org Git - icinga2/commitdiff
Disable (unused) build tests for RPM-based distros
authorGunnar Beutner <gunnar@beutner.name>
Tue, 21 Apr 2015 13:10:55 +0000 (15:10 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 21 Apr 2015 13:12:45 +0000 (15:12 +0200)
icinga2.spec

index 82302d5ac69f70a727f2d423a22269bbba1d9ace..38defdd838c2332e4b1df0ad013cb6b17dcc4c69 100644 (file)
@@ -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"