]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: conditionalize crimson gts version on el10
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 27 Jun 2025 15:08:39 +0000 (11:08 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 1 Oct 2025 21:04:12 +0000 (17:04 -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>
(cherry picked from commit c91c49282974d051dbd5f954e5b3cc5036de66a7)

ceph.spec.in

index 5f4267c052bde04f1aa8ed93fc638937b1983322..a06aa9bdf877538bd2fe9a37613362d8c986401a 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}