Fix openSUSE builds.

This commit is contained in:
Gunnar Beutner 2013-10-03 12:28:13 +02:00
parent a03559a3a4
commit 343f0ed441
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,6 @@ BuildRequires: doxygen
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: automake BuildRequires: automake
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: libtool BuildRequires: libtool
@ -26,12 +25,13 @@ BuildRequires: bison
# TODO: figure out how to handle boost on el5 # TODO: figure out how to handle boost on el5
%if "%{_vendor}" == "redhat" %if "%{_vendor}" == "redhat"
BuildRequires: libtool-ltdl-devel
BuildRequires: boost >= 1.41 BuildRequires: boost >= 1.41
BuildRequires: boost-devel >= 1.41 BuildRequires: boost-devel >= 1.41
BuildRequires: boost-test >= 1.41 BuildRequires: boost-test >= 1.41
Requires: boost >= 1.41 Requires: boost >= 1.41
%endif %endif
%if "%{_vendor}" == "suse" %if "%{_vendor}" == "suse"
BuildRequires: boost-devel >= 1.41 BuildRequires: boost-devel >= 1.41
Requires: libboost_program_options%{opensuse_boost_version} Requires: libboost_program_options%{opensuse_boost_version}
@ -46,7 +46,7 @@ Requires: libboost_thread%{opensuse_boost_version}
Icinga is a general-purpose network monitoring application. Icinga is a general-purpose network monitoring application.
%package ido-mysql %package ido-mysql
Summary: ido mysql database backend for Icinga 2 Summary: IDO MySQL database backend for Icinga 2
Group: Applications/System Group: Applications/System
%if "%{_vendor}" == "suse" %if "%{_vendor}" == "suse"
BuildRequires: libmysqlclient-devel BuildRequires: libmysqlclient-devel