From de267bbe3ad02d3224e8a8c2fa4a92ee43360a06 Mon Sep 17 00:00:00 2001 From: Clemens Lang Date: Tue, 2 Jul 2024 13:20:03 +0200 Subject: [PATCH] Fix build on Fedora rawhide The OpenSSL engine headers were moved to a separate package on Fedora 41, so add the necessary dependency on the new subpackage if engine support is enabled on Fedora >= 41. (cherry picked from commit 9cc9c05fe514c0dd195aef4e7bb9d72dff13477a) Resolves: RHEL-33749 Signed-off-by: Clemens Lang From-source-git-commit: f8c86bc84c27e8e74722b390232c83e68b497ba5 --- stunnel.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stunnel.spec b/stunnel.spec index 3b6ea30..308ea41 100644 --- a/stunnel.spec +++ b/stunnel.spec @@ -55,6 +55,9 @@ BuildRequires: make BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: openssl-devel, pkgconfig, util-linux +%if %{with openssl_engine} && 0%{?fedora} >= 41 +BuildRequires: openssl-devel-engine +%endif BuildRequires: autoconf automake libtool %if %{with libwrap} Buildrequires: tcp_wrappers-devel