From d78e5a967675ab84d8d32d9f7d2b4589869b2019 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Tue, 14 Jan 2014 18:30:57 +0100 Subject: [PATCH] spec: Fix boost version requirement for OpenSUSE 13.1. Fixes #5451 --- icinga2.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/icinga2.spec b/icinga2.spec index 09bab9c28..0107f5222 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -29,7 +29,12 @@ %define apachegroup apache %endif %if "%{_vendor}" == "suse" +# opensuse 13 +%if 0%{?suse_version} >= 1310 +%define opensuse_boost_version 1_53_0 +%else %define opensuse_boost_version 1_49_0 +%endif %define sles_boost_version 1_54_0 %define apachename apache2 %define apacheconfdir %{_sysconfdir}/apache2/conf.d