From ed5802d3aa815ef38a48a3b7c84bb32e3487e129 Mon Sep 17 00:00:00 2001 From: Mattias Ellert Date: Thu, 11 Jul 2024 16:59:35 +0200 Subject: [PATCH] Add openssl-devel-engine build requirement on Fedora 41+ The ENGINE API is deprecated in openssl since version 3.0. Fedora is trying to phase it out, and as a first step they have moved the associated header files into a separete package. For now the ENGINE API can still be used if this package is added to the build requriements for the package, as this commit does. Developers are encouraged to use the PROVIDER API instead. https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine --- packaging/fedora/myproxy.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packaging/fedora/myproxy.spec b/packaging/fedora/myproxy.spec index f9d8de818..da440e39a 100644 --- a/packaging/fedora/myproxy.spec +++ b/packaging/fedora/myproxy.spec @@ -3,7 +3,7 @@ Name: myproxy %global soname 6 Version: 6.2.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manage X.509 Public Key Infrastructure (PKI) security credentials Group: Applications/Internet @@ -28,6 +28,10 @@ BuildRequires: openldap2-devel %else BuildRequires: openldap-devel >= 2.3 %endif +BuildRequires: openssl-devel +%if %{?fedora}%{!?fedora:0} >= 41 +BuildRequires: openssl-devel-engine +%endif BuildRequires: pam-devel %if ! %{?suse_version}%{!?suse_version:0} BuildRequires: perl-generators @@ -387,6 +391,9 @@ fi %doc %{_pkgdocdir}/LICENSE* %changelog +* Thu Jul 11 2024 Mattias Ellert - 6.2.17-2 +- Add openssl-devel-engine build requirement on Fedora 41+ + * Sun Mar 17 2024 Mattias Ellert - 6.2.17-1 - Handle 64 bit time_t on 32 bit systems