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>
%{!?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}