From 641e6d8500ab9223d43c05f031489d9712d37cd7 Mon Sep 17 00:00:00 2001 From: U2FsdGVkX1 Date: Thu, 14 Dec 2023 13:42:47 +0800 Subject: [PATCH] Add riscv64 support --- openssl.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openssl.spec b/openssl.spec index be1eb0b..3551454 100644 --- a/openssl.spec +++ b/openssl.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %global soversion 3 %define srpmhash() %{lua: @@ -180,6 +180,9 @@ export HASHBANGPERL=/usr/bin/perl ./Configure \ --prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \ +%ifarch riscv64 + --libdir=%{_lib} \ +%endif --system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/openssl.config \ zlib enable-camellia enable-seed enable-rfc3779 enable-sctp \ enable-cms enable-md2 enable-rc5 enable-ktls enable-fips\ @@ -300,6 +303,9 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/{openssl.cnf.dist,ct_log_list.cnf.di %doc NEWS.md README.md %changelog +* Thu Nov 11 2023 Guoguo - 1:3.0.12-3 +- Add support for riscv64 + * Tue Nov 07 2023 Funda Wang - 1:3.0.12-2 - fix CVE-2023-5678 -- Gitee