From f63d324ef600df158091c88c8b517a968b448641 Mon Sep 17 00:00:00 2001 From: laokz Date: Mon, 5 Jun 2023 14:43:38 +0000 Subject: [PATCH] fix sslarch and libdir for riscv64 Signed-off-by: wangjunqiang Signed-off-by: laokz (cherry picked from commit 31d7631b9239f9aed8b95562e8786eaf812370e8) --- compat-openssl11.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/compat-openssl11.spec b/compat-openssl11.spec index b411c50..ad25185 100644 --- a/compat-openssl11.spec +++ b/compat-openssl11.spec @@ -1,7 +1,7 @@ %define soversion 1.1 Name: compat-openssl11 Version: 1.1.1m -Release: 7 +Release: 8 Epoch: 1 Summary: Cryptography and SSL/TLS Toolkit License: OpenSSL and SSLeay @@ -144,9 +144,12 @@ sslarch=%{_os}-%{_target_cpu} %ifarch x86_64 aarch64 sslflags=enable-ec_nistp_64_gcc_128 %endif -%ifarch loongarch64 +%ifarch loongarch64 riscv64 sslflags="--libdir=%{_libdir}" %endif +%ifarch riscv64 +sslarch=%{_os}64-%{_target_cpu} +%endif RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY $RPM_LD_FLAGS" ./Configure \ @@ -230,6 +233,9 @@ make test || : %ldconfig_scriptlets libs %changelog +* Mon Jun 05 2023 laokz - 1:1.1.1m-8 +- fix sslarch and libdir for riscv64 + * Thu May 25 2023 fangxiuning - 1:1.1.1m-7 - Fix some cves -- Gitee