diff --git a/mysql8.4.spec b/mysql8.4.spec index 1304e8a..8a7a7b2 100644 --- a/mysql8.4.spec +++ b/mysql8.4.spec @@ -177,6 +177,11 @@ BuildRequires: libquadmath-devel %endif BuildRequires: openssl BuildRequires: openssl-devel +%if 0%{?fedora} >= 41 +# Complement of mysql-openssl-engine.patch +BuildRequires: openssl-devel-engine +%endif + BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: rpcgen @@ -546,10 +551,6 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \ fi %endif -# Complement of mysql-openssl-engine.patch -CFLAGS="$CFLAGS -DOPENSSL_NO_ENGINE"; export CFLAGS -CPPFLAGS="$CPPFLAGS -DOPENSSL_NO_ENGINE"; export CPPFLAGS - # The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX # so we can't use %%{_datadir} and so forth here. %cmake \