icinga2.spec: drop now not supported GCC 4.8
This commit is contained in:
parent
8f4d029357
commit
641066ac25
12
icinga2.spec
12
icinga2.spec
|
@ -118,15 +118,9 @@ BuildRequires: libyajl-devel
|
|||
%endif
|
||||
BuildRequires: libedit-devel
|
||||
BuildRequires: ncurses-devel
|
||||
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
|
||||
BuildRequires: gcc48-c++
|
||||
BuildRequires: libopenssl1-devel
|
||||
BuildRequires: libstdc++48-devel
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake
|
||||
BuildRequires: flex >= 2.5.35
|
||||
|
@ -416,12 +410,6 @@ CMAKE_OPTS="$CMAKE_OPTS
|
|||
CMAKE_OPTS="$CMAKE_OPTS -DUSE_SYSTEMD=ON"
|
||||
%endif
|
||||
|
||||
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
|
||||
# from package gcc48-c++
|
||||
export CC=gcc-4.8
|
||||
export CXX=g++-4.8
|
||||
%endif
|
||||
|
||||
%if "%{?_buildhost}" != ""
|
||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_BUILD_HOST_NAME:STRING=%_buildhost"
|
||||
%endif
|
||||
|
|
Loading…
Reference in New Issue