From f1cbe2dee92547a0153f39cfbee34b7614cc64ea Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Fri, 27 Jun 2025 11:08:39 -0400 Subject: [PATCH] ceph.spec.in: conditionalize crimson gts version on el10 EL10 distros come with GCC 14. When crimson was enabled it was always trying to set gts_version to 13 (gcc-toolset version). Make the use of gts version conditional on using el versions lower than 10. Signed-off-by: John Mulligan (cherry picked from commit c91c49282974d051dbd5f954e5b3cc5036de66a7) --- ceph.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 5f4267c052b..a06aa9bdf87 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -151,7 +151,9 @@ %{!?python3_version_nodots: %global python3_version_nodots 3} %{!?python3_version: %global python3_version 3} %if 0%{with crimson} +%if 0%{?rhel} < 10 %{!?gts_version: %global gts_version 13} +%endif %else %if 0%{?rhel} == 8 %{!?gts_version: %global gts_version 11} -- 2.39.5