From: Gregory Bell grbell@redhat.com
redhat/spec: fix selftests dependencies
JIRA: https://issues.redhat.com/browse/RHEL-88228 Upstream Status: RHEL-only
Building the kernel with dist-brew with build options +selftests and -tools -ynl leaves out python3-docutils & python3-jsonschema that selftests requires that are provided only with +tools and +ynl. Adding python3-docutils and python3-jsonschema to selftests build requirements
Signed-off-by: Gregory Bell grbell@redhat.com
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -768,7 +768,7 @@ BuildRequires: (python3-wheel if python3-setuptools < 70) BuildRequires: openssl-devel %endif %if %{with_selftests} -BuildRequires: clang llvm-devel fuse-devel zlib-devel binutils-devel +BuildRequires: clang llvm-devel fuse-devel zlib-devel binutils-devel python3-docutils python3-jsonschema %ifarch x86_64 riscv64 BuildRequires: lld %endif
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3841
kernel@lists.fedoraproject.org