Add --libdir=%{_lib} for riscv64

This should be done by updating: 0001-Aarch64-and-ppc64le-use-lib64.patch

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-01 09:35:32 +02:00
parent e994f999e2
commit 8c9e425031
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 7 additions and 1 deletions

View File

@ -29,7 +29,7 @@ print(string.sub(hash, 0, 16))
Summary: Utilities from the general purpose cryptography library with TLS implementation
Name: openssl
Version: 3.0.8
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Epoch: 1
# We have to remove certain patented algorithms from the openssl source
# tarball with the hobble-openssl script which is included below.
@ -297,6 +297,9 @@ export HASHBANGPERL=/usr/bin/perl
# RPM_OPT_FLAGS, so we can skip specifiying them here.
./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 ${ktlsopt} enable-fips\
@ -491,6 +494,9 @@ install -m644 %{SOURCE9} \
%ldconfig_scriptlets libs
%changelog
* Wed Mar 01 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1:3.0.8-1.0.riscv64
- Add --libdir=%{_lib} for riscv64 (uses linux-generic64)
* Thu Feb 09 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.0.8-1
- Rebase to upstream version 3.0.8
Resolves: CVE-2022-4203