]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: install gcc-toolset-9-gcc-c++ for rhel only 41547/head
authorMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Wed, 26 May 2021 07:10:35 +0000 (16:10 +0900)
committerMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Wed, 26 May 2021 07:21:34 +0000 (16:21 +0900)
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 <misono.tomohiro@jp.fujitsu.com>
ceph.spec.in

index 39c3bade79f060e2afe7563e97a354bdd82bd505..b4a1e68e5ca633aefda0032a882bf1a7ea47a7a3 100644 (file)
@@ -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++