Remove usage of OpenSSL Engine
https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine Note: There is a difference between Fedora and CentOS Stream 10 / RHEL 10: - in CentOS Stream 10 / RHEL 10, the change is self-contained by the 'openssl-devel' package itself, which now defines OPENSSL_NO_ENGINE in the headers so new application builds don't use engine at all - in Fedora, the headers containing the OPENSSL_NO_ENGINE definition are put into a separate sub-package 'openssl-devel-engine', instead of being put into the 'openssl-devel' More notes (from Yaakov Selkowitz): - While C10S/RHEL 10 openssl is built with OPENSSL_NO_ENGINE, ELN is not, and many packages still need openssl-devel-engine as in F41+ **until that happens**. Therefore, the correct conditional at this time is: %if 0%{?fedora} >= 41 || 0%{?rhel} >= 11; - The -devel subpackage should also 'Recommends: openssl-devel-engine' with the same conditionals, otherwise every asio-dependent package will need to be modified
This commit is contained in:
parent
f0d1ddce2f
commit
115556d9ec
@ -17,6 +17,9 @@ BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
BuildRequires: openssl-devel
|
||||
%if 0%{?fedora} >= 41 || 0%{?rhel} >= 11
|
||||
BuildRequires: openssl-devel-engine
|
||||
%endif
|
||||
BuildRequires: perl-generators
|
||||
|
||||
%description
|
||||
@ -27,6 +30,9 @@ modern C++ approach.
|
||||
%package devel
|
||||
Summary: Header files for asio
|
||||
Recommends: openssl-devel
|
||||
%if 0%{?fedora} >= 41 || 0%{?rhel} >= 11
|
||||
Recommends: openssl-devel-engine
|
||||
%endif
|
||||
Recommends: boost-devel
|
||||
|
||||
%description devel
|
||||
|
||||
Loading…
Reference in New Issue
Block a user