diff --git a/gcc-toolset-15-gcc.spec b/gcc-toolset-15-gcc.spec index 7d40857..965941a 100644 --- a/gcc-toolset-15-gcc.spec +++ b/gcc-toolset-15-gcc.spec @@ -601,7 +601,11 @@ which is used for -fsanitize=address instrumented programs. %package -n %{?scl_prefix}libasan-devel Summary: The Address Sanitizer static library +%if 0%{?rhel} < 10 Requires: libasan8%{_isa} >= 12.1.1 +%else +Requires: libasan%{_isa} >= 14.2.1 +%endif Obsoletes: libasan5 <= 8.3.1 %description -n %{?scl_prefix}libasan-devel @@ -616,7 +620,7 @@ which is used for -fsanitize=hwaddress instrumented programs. %package -n %{?scl_prefix}libhwasan-devel Summary: The Hardware-assisted Address Sanitizer static library -Requires: libhwasan >= 13.1.1 +Requires: libhwasan >= 14.2.1 %description -n %{?scl_prefix}libhwasan-devel This package contains Hardware-assisted Address Sanitizer static runtime @@ -631,7 +635,11 @@ which is used for -fsanitize=thread instrumented programs. %package -n %{?scl_prefix}libtsan-devel Summary: The Thread Sanitizer static library +%if 0%{?rhel} < 10 Requires: libtsan2%{_isa} >= 12.1.1 +%else +Requires: libtsan%{_isa} >= 14.2.1 +%endif %description -n %{?scl_prefix}libtsan-devel This package contains Thread Sanitizer static runtime library.