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 <cllang@redhat.com>
From-source-git-commit: f8c86bc84c27e8e74722b390232c83e68b497ba5
This commit is contained in:
Clemens Lang 2024-07-02 13:20:03 +02:00
parent 4b6b9847c1
commit de267bbe3a

View File

@ -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