From 090d2634563ad5c20aedf91cbe6131f5cfa5825f Mon Sep 17 00:00:00 2001 From: wangjunqiang Date: Sun, 19 Feb 2023 04:26:51 +0000 Subject: [PATCH] add sslarch and libdir for riscv64 Signed-off-by: wangjunqiang (cherry picked from commit f1ade5a2bd5d8119ab65cc7097fcf52edb596c57) --- openssl.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openssl.spec b/openssl.spec index 756d8bc..5b8e15c 100644 --- a/openssl.spec +++ b/openssl.spec @@ -2,7 +2,7 @@ Name: openssl Epoch: 1 Version: 3.0.8 -Release: 2 +Release: 3 Summary: Cryptography and SSL/TLS Toolkit License: OpenSSL and SSLeay URL: https://www.openssl.org/ @@ -78,6 +78,10 @@ sslarch=%{_os}-%{_target_cpu} %ifarch i686 sslarch=linux-elf %endif +%ifarch riscv64 +sslarch=%{_os}64-%{_target_cpu} +sslflags="--libdir=%{_libdir}" +%endif %ifarch x86_64 aarch64 sslflags=enable-ec_nistp_64_gcc_128 @@ -219,6 +223,9 @@ make test || : %ldconfig_scriptlets libs %changelog +* Fri Mar 17 2023 wangjunqiang - 1:3.0.8-3 +- fix sslarch and libdir for riscv64 + * Thu Mar 16 2023 Xu Yizhou - 1:3.0.8-2 - backport SM4 GCM/CCM/XTS implementation - backport SM3/SM4 optimization -- Gitee