Don't require libasan8/libtsan2 on RHEL10

Related: RHEL-81745
This commit is contained in:
Marek Polacek 2025-06-05 11:30:14 -04:00
parent 8027795ca6
commit 28229bfc7d

View File

@ -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.