From 1d682bab55cd7f60e0dac2f8d66abe5dc9a257dd Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Wed, 10 Jul 2024 16:34:14 +0200 Subject: [PATCH] OpenSSL engine split off since Fedora 41 Signed-off-by: Peter Lemenkov --- erlang.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erlang.spec b/erlang.spec index ed975d0..e15dab6 100644 --- a/erlang.spec +++ b/erlang.spec @@ -242,9 +242,9 @@ A byte code compiler for Erlang which produces highly compact code. %package crypto Summary: Cryptographical support BuildRequires: pkgconfig(openssl) -# FIXME there is something wrong with OpenSSL 3.0 support in Erlang right now. -# We have to fallback to OpenSSL1 explicitly. -# BuildRequires: openssl1.1-devel +%if 0%{fedora} > 40 +BuildRequires: openssl-devel-engine +%endif Requires: %{name}-erts%{?_isa} = %{version}-%{release} Requires: %{name}-kernel%{?_isa} = %{version}-%{release} Requires: %{name}-stdlib%{?_isa} = %{version}-%{release}