From: Shawn Doherty <[email protected]>

redhat: spec: openssl-devel is a dependency unconditionally

JIRA: https://issues.redhat.com/browse/RHEL-78808

commit b254a897317b201f123344f6ec5e7e29c7e16abe
Author: Eric Chanudet <[email protected]>
Date:   Wed Jul 31 14:08:21 2024 -0400

    redhat: spec: openssl-devel is a dependency unconditionally

    JIRA: https://issues.redhat.com/browse/RHEL-53349
    Upstream Status: RHEL-only

    MODULE_SIG_FORMAT / MODULE_SIG will build sign-file which needs
    openssl-devel.
    CONFIG_SYSTEM_TRUSTED_KEYRING will build extract-cert.

    Both of these binaries are in scripts/ which are normally part of
    -devel, independently of with_tools, and all these configurations are
    set. Add openssl-devel dependency unconditionally.

    Signed-off-by: Eric Chanudet <[email protected]>

Signed-off-by: Shawn Doherty <[email protected]>

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
@@ -770,9 +770,7 @@ BuildRequires: libnl3-devel
 BuildRequires: python3-pyyaml python3-jsonschema python3-pip 
python3-setuptools >= 61
 %endif
 
-%if %{with_tools} || %{signmodules} || %{signkernel}
 BuildRequires: openssl-devel
-%endif
 %if %{with_selftests}
 BuildRequires: clang llvm-devel fuse-devel zlib-devel binutils-devel
 %ifarch x86_64 riscv64

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3715

-- 
_______________________________________________
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]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to