From: Misono Tomohiro Date: Wed, 26 May 2021 07:10:35 +0000 (+0900) Subject: ceph.spec.in: install gcc-toolset-9-gcc-c++ for rhel only X-Git-Tag: v17.1.0~1836^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F41547%2Fhead;p=ceph.git ceph.spec.in: install gcc-toolset-9-gcc-c++ for rhel only Otherwise fedora 33 complains there is no gcc-toolset-9-gcc-c++ when running "WITH_SEASTAR=true ./install_deps.sh" Related to: 36759b53635 Signed-off-by: Misono Tomohiro --- diff --git a/ceph.spec.in b/ceph.spec.in index 39c3bade79f0..b4a1e68e5ca6 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -187,7 +187,7 @@ BuildRequires: gperf BuildRequires: cmake > 3.5 BuildRequires: cryptsetup BuildRequires: fuse-devel -%if 0%{with seastar} +%if 0%{with seastar} && 0%{?rhel} BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3 %else BuildRequires: gcc-c++