From: Don Zickus <[email protected]>

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 <[email protected]>
---
 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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to