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:
parent
4855397272
commit
510d152776
|
@ -29,7 +29,7 @@ print(string.sub(hash, 0, 16))
|
||||||
Summary: Utilities from the general purpose cryptography library with TLS implementation
|
Summary: Utilities from the general purpose cryptography library with TLS implementation
|
||||||
Name: openssl
|
Name: openssl
|
||||||
Version: 3.0.5
|
Version: 3.0.5
|
||||||
Release: 3%{?dist}
|
Release: 3.0.riscv64%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
# We have to remove certain patented algorithms from the openssl source
|
# We have to remove certain patented algorithms from the openssl source
|
||||||
# tarball with the hobble-openssl script which is included below.
|
# tarball with the hobble-openssl script which is included below.
|
||||||
|
@ -321,6 +321,9 @@ export HASHBANGPERL=/usr/bin/perl
|
||||||
# RPM_OPT_FLAGS, so we can skip specifiying them here.
|
# RPM_OPT_FLAGS, so we can skip specifiying them here.
|
||||||
./Configure \
|
./Configure \
|
||||||
--prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
|
--prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
|
||||||
|
%ifarch riscv64
|
||||||
|
--libdir=%{_lib} \
|
||||||
|
%endif
|
||||||
--system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/openssl.config \
|
--system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/openssl.config \
|
||||||
zlib enable-camellia enable-seed enable-rfc3779 enable-sctp \
|
zlib enable-camellia enable-seed enable-rfc3779 enable-sctp \
|
||||||
enable-cms enable-md2 enable-rc5 ${ktlsopt} enable-fips\
|
enable-cms enable-md2 enable-rc5 ${ktlsopt} enable-fips\
|
||||||
|
@ -514,6 +517,9 @@ install -m644 %{SOURCE9} \
|
||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 09 2022 David Abdurachmanov <davidlt@rivosinc.com> - 1:3.0.5-3.0.riscv64
|
||||||
|
- Add --libdir=%{_lib} for riscv64 (uses linux-generic64)
|
||||||
|
|
||||||
* Thu Sep 01 2022 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.0.5-3
|
* Thu Sep 01 2022 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.0.5-3
|
||||||
- Sync patches with RHEL
|
- Sync patches with RHEL
|
||||||
Related: rhbz#2123755
|
Related: rhbz#2123755
|
||||||
|
|
Loading…
Reference in New Issue