diff --git a/openssl.spec b/openssl.spec index c5cdbf7bc49c8e03ddff94f6bdd7571a815aa0c6..ce5c667c0eae62a46094405dd0b31397bba5a112 100644 --- a/openssl.spec +++ b/openssl.spec @@ -2,7 +2,7 @@ Name: openssl Epoch: 1 Version: 1.1.1f -Release: 1 +Release: 2 Summary: Cryptography and SSL/TLS Toolkit License: OpenSSL and SSLeay URL: https://www.openssl.org/ @@ -59,9 +59,16 @@ sslarch=%{_os}-%{_target_cpu} sslflags=enable-ec_nistp_64_gcc_128 %endif +%ifarch riscv64 +sslarch=linux-generic64 +%endif + RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY $RPM_LD_FLAGS" ./Configure \ --prefix=%{_prefix} \ +%ifarch riscv64 + --libdir=%{_lib} \ +%endif --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \ zlib enable-camellia enable-seed enable-rfc3779 enable-sctp \ enable-cms enable-md2 enable-rc5 enable-ssl3 enable-ssl3-method \ @@ -186,6 +193,9 @@ make test || : %{_pkgdocdir}/html/ %changelog +* Thu Aug 13 2020 whoisxxx - 1:1.1.1f-2 +- Add support for RISC-V + * Tue May 12 2020 openEuler Buildteam - 1:1.1.1f-1 - update openssl-1.1.1d to openssl-1.1.1f and fix CVE-2020-1967