From: John Mulligan Date: Fri, 27 Jun 2025 15:08:39 +0000 (-0400) Subject: ceph.spec.in: conditionalize crimson gts version on el10 X-Git-Tag: testing/wip-vshankar-testing-20250710.130520-debug~58^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c91c49282974d051dbd5f954e5b3cc5036de66a7;p=ceph-ci.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index dff07c3a090..6a568a663e4 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}