diff --git a/openssl.spec b/openssl.spec index 13b75fd0df51e40aab7958eefc51bc3d774b11b5..54fd00ec5113ef4cc2476e23c9a2090b0fb766d2 100644 --- a/openssl.spec +++ b/openssl.spec @@ -2,7 +2,7 @@ Name: openssl Epoch: 1 Version: 1.1.1m -Release: 19 +Release: 20 Summary: Cryptography and SSL/TLS Toolkit License: OpenSSL and SSLeay URL: https://www.openssl.org/ @@ -119,6 +119,10 @@ sslarch=%{_os}-%{_target_cpu} %ifarch x86_64 aarch64 sslflags=enable-ec_nistp_64_gcc_128 %endif +%ifarch riscv64 +sslarch=%{_os}64-%{_target_cpu} +sslflags="--libdir=%{_libdir}" +%endif RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY $RPM_LD_FLAGS" ./Configure \ @@ -261,6 +265,9 @@ make test || : %ldconfig_scriptlets libs %changelog +* Mon Jun 05 2023 laokz - 1:1.1.1m-20 +- fix sslarch and libdir for riscv64 + * Mon May 15 2023 Xu Yizhou - 1:1.1.1m-19 - Fix SM4-XTS build failure using clang