diff --git a/openssl.spec b/openssl.spec index 3786b6eb89bce68abfb5d6f6f1b52ca14b66ad6a..f038f3318e2447126064c426198571c0235daece 100644 --- a/openssl.spec +++ b/openssl.spec @@ -2,7 +2,7 @@ Name: openssl Epoch: 1 Version: 1.1.1d -Release: 9 +Release: 10 Summary: Cryptography and SSL/TLS Toolkit License: OpenSSL and SSLeay URL: https://www.openssl.org/ @@ -60,9 +60,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 \ @@ -187,6 +194,9 @@ make test || : %{_pkgdocdir}/html/ %changelog +* Mon Jun 1 2020 whoisxxx - 1:1.1.1d-10 +- Adapt for RISC-V + * Wed Mar 18 2020 steven - 1:1.1.1d-9 - fix division zero issue which found by oss-fuzz