]> granicus.if.org Git - icinga2/commitdiff
spec: Require boost 1_54_0 packages.
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 9 Oct 2013 13:04:07 +0000 (15:04 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 9 Oct 2013 13:04:07 +0000 (15:04 +0200)
icinga2.spec.in

index cb4fc36b756f706e883656908d931d9ceaccca53..e601dca1b618b40473135837bb0f42b685c70869 100644 (file)
@@ -8,6 +8,7 @@
 %endif
 %if "%{_vendor}" == "suse"
 %define opensuse_boost_version 1_49_0
+%define sles_boost_version 1_54_0
 %define apacheuser wwwrun
 %endif
 
@@ -59,6 +60,14 @@ Requires: boost-thread >= 1.41
 %endif
 
 %if "%{_vendor}" == "suse"
+%if 0%{?sles_version} == 11
+BuildRequires: boost-devel >= 1.41
+Requires: libboost_program_options%{sles_boost_version}
+Requires: libboost_signals%{sles_boost_version}
+Requires: libboost_system%{sles_boost_version}
+Requires: libboost_test%{sles_boost_version}
+Requires: libboost_thread%{sles_boost_version}
+%else
 BuildRequires: boost-devel >= 1.41
 Requires: libboost_program_options%{opensuse_boost_version}
 Requires: libboost_signals%{opensuse_boost_version}