mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
02f7170298
commit
2e2a602334
@ -1,5 +1,6 @@
|
|||||||
%define revision 1
|
%define revision 1
|
||||||
%define opensuse_boost_version 1_49_0
|
%define opensuse_boost_version 1_49_0
|
||||||
|
%define el5_boost_version 141
|
||||||
|
|
||||||
%define logmsg logger -t %{name}/rpm
|
%define logmsg logger -t %{name}/rpm
|
||||||
|
|
||||||
@ -23,13 +24,24 @@ BuildRequires: libtool
|
|||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
|
||||||
# TODO: figure out how to handle boost on el5
|
|
||||||
%if "%{_vendor}" == "redhat"
|
%if "%{_vendor}" == "redhat"
|
||||||
BuildRequires: libtool-ltdl-devel
|
BuildRequires: libtool-ltdl-devel
|
||||||
BuildRequires: boost >= 1.41
|
%if 0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5"
|
||||||
|
# el5 requires EPEL
|
||||||
|
BuildRequires: boost-devel%{el5_boost_version}
|
||||||
|
Requires: boost-program-options%{el5_boost_version}
|
||||||
|
Requires: boost-signals%{el5_boost_version}
|
||||||
|
Requires: boost-system%{el5_boost_version}
|
||||||
|
Requires: boost-test%{el5_boost_version}
|
||||||
|
Requires: boost-thread%{el5_boost_version}
|
||||||
|
%else
|
||||||
BuildRequires: boost-devel >= 1.41
|
BuildRequires: boost-devel >= 1.41
|
||||||
BuildRequires: boost-test >= 1.41
|
Requires: boost-program-options >= 1.41
|
||||||
Requires: boost >= 1.41
|
Requires: boost-signals >= 1.41
|
||||||
|
Requires: boost-system >= 1.41
|
||||||
|
Requires: boost-test >= 1.41
|
||||||
|
Requires: boost-thread >= 1.41
|
||||||
|
%fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%{_vendor}" == "suse"
|
%if "%{_vendor}" == "suse"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user