]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerYuri Weinstein <yweinste@redhat.com>
Thu, 2 Oct 2025 17:19:14 +0000 (17:19 +0000)
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)
(cherry picked from commit f1cbe2dee92547a0153f39cfbee34b7614cc64ea)

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}