From 36e923112901d60656167394aa690cca6f92c925 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 12 Dec 2022 16:23:17 +0100 Subject: [PATCH] Related: #2151175 use_openssl_for_librnp requires openssl >= 1.1.1e ... because EVP_PKEY_CTX_set_dsa_paramgen_q_bits was introduced only there. --- thunderbird.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/thunderbird.spec b/thunderbird.spec index a6fc565..35a02c6 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -33,8 +33,11 @@ end} %global system_nss 1 %global bundle_nss 0 %global build_langpacks 1 + +# librnp with openssl support, not available in RHEL7 because it requires openssl >= 1.1.1e, +# nor in rhel-8.1.0 or rhel-8.2.0 %global use_openssl_for_librnp 1 -%if 0%{?rhel} == 7 +%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} < 4) %global use_openssl_for_librnp 0 %endif @@ -627,7 +630,6 @@ echo "use_rustts %{?use_rustts}" %patch424 -p1 -b .svg-rendering %patch425 -p1 -b .D158770.diff -# librnp with openssl support, not available in RHEL7 because it requires openssl >= 1.1.1: %if %{?use_openssl_for_librnp} %patch5426 -p1 -b .backport-rnp-0.16.2-to-esr102-a-bug-1753683 %patch5427 -p1 -b .backport-rnp-0.16.2-to-esr102-b-bug-1790446