Skip to content

Commit 6210eca

Browse files
committed
kernel.spec: Always BuildRequire openssl-devel
JIRA: https://issues.redhat.com/browse/RHEL-78808 Upstream Status: https://gitlab.com/cki-project/kernel-ark.git commit 92846419579013799663ed85c06007443455277f Author: Eric Chanudet <echanude@redhat.com> Date: Fri Jun 27 16:43:54 2025 -0400 kernel.spec: Always BuildRequire openssl-devel MODULE_SIG=y selects MODULE_SIG_FORMAT=y which enables building scripts/sign-file, which links with libcrypto. SYSTEM_EXTRA_CERTIFICATE=y (fedora and automotive) enables building scripts/extract-certs which links with libcrypto. Hence both will require openssl-devel, independently of the rpmbuildopts. Signed-off-by: Eric Chanudet <echanude@redhat.com> Signed-off-by: Eric Chanudet <echanude@redhat.com>
1 parent 3c46d7d commit 6210eca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redhat/kernel.spec.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,9 +764,8 @@ BuildRequires: libnl3-devel
764764
BuildRequires: python3-pyyaml python3-jsonschema python3-pip python3-setuptools python3-wheel
765765
%endif
766766

767-
%if %{with_tools} || %{signmodules} || %{signkernel}
768767
BuildRequires: openssl-devel
769-
%endif
768+
770769
%if %{with_selftests}
771770
BuildRequires: clang llvm-devel fuse-devel zlib-devel binutils-devel python3-docutils python3-jsonschema
772771
%ifarch x86_64 riscv64

0 commit comments

Comments
 (0)