diff --git a/icinga2.spec b/icinga2.spec index cb09831ef5f7d163fb5cf74c4e18ae3efde7dfed..3ce7023debc331cbd124969875edc020ae1e4fd1 100644 --- a/icinga2.spec +++ b/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