Update icinga2.spec

Added several "BuildRequires" that were needed to make the build process work.

Also added a "sh autogen.sh" to the %build section, otherwise there is no ./configure to execute.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
Pall Sigurdsson 2013-08-28 16:14:13 +00:00 committed by Michael Friedrich
parent af86fa8ed9
commit 6f513fd4f2
1 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,13 @@ BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: help2man
BuildRequires: flex
BuildRequires: bison
# TODO: figure out how to handle boost on el5
BuildRequires: boost
@ -28,6 +35,7 @@ Icinga is a general-purpose network monitoring application.
%setup -q -n %{name}-%{version}
%build
sh autogen.sh
%configure
make %{?_smp_mflags}