]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: conditionalize crimson gts version on el10 64228/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 27 Jun 2025 15:08:39 +0000 (11:08 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 27 Jun 2025 15:08:39 +0000 (11:08 -0400)
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 <jmulligan@redhat.com>
ceph.spec.in

index dff07c3a090890b3f74b352e3ba500477be0f760..6a568a663e4cc02c8675f3874cd2340c8df12a80 100644 (file)
 %{!?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}