ceph.spec.in: use g++ >= 8.3.1-3.1

since https://bugzilla.redhat.com/show_bug.cgi?id=1726630 has been
fixed. and we have devtoolset-8-gcc-c++-8.3.1-3.1.el7.x86_64.rpm.

no reason to stick with devtoolset-8-gcc-c++-8.2.1-3 anymore.

Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-09-03 13:05:47 +08:00
parent 4a1ab1077d
commit 33dfffc841

View File

@ -150,8 +150,7 @@ BuildRequires: fuse-devel
%if 0%{?rhel} == 7
# devtoolset offers newer make and valgrind-devel, but the old ones are good
# enough.
# see https://github.com/ceph/ceph/pull/28859
BuildRequires: devtoolset-8-gcc-c++ = 8.2.1
BuildRequires: devtoolset-8-gcc-c++ >= 8.3.1-3.1
%else
BuildRequires: gcc-c++
%endif