diff --git a/openssl.spec b/openssl.spec index 756d8bc98495d038e5e927d308ffc4752ee6dfd7..5b8e15cac08fecf5fe0e0c43851cb318252cefab 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