From: Don Zickus <dzickus@xxxxxxxxxx> ARK used to build against the RHEL-8 buildroots. Going forward, it will build against the ELN buildroot (Fedora space). Adjust the spec file to handle these changes. Still try to support RHEL-8 where possible. That is why the llvm-toolset is wrapped with el8. This is useful for internal developers. Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx> --- redhat/kernel.spec.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index 579344b69485..21d2dca61366 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -506,10 +506,10 @@ BuildRequires: python3-docutils BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} -%if 0%{?fedora} -BuildRequires: clang llvm -%else +%if 0%{?el8} BuildRequires: llvm-toolset +%else +BuildRequires: clang llvm %endif %ifnarch %{arm} BuildRequires: numactl-devel -- 2.26.2 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx