From 366634ae28c6ffe5ff9fad3fb80ea817a345e243 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 9 May 2018 12:18:40 +0200 Subject: [PATCH] Add --libdir=%{_lib} for riscv64 We need this because there is no riscv64 specific configuration which would set multilib to 64. It should be easy to write one and send to the upstream. Signed-off-by: David Abdurachmanov --- openssl.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openssl.spec b/openssl.spec index 786c7a7..858e2d3 100644 --- a/openssl.spec +++ b/openssl.spec @@ -22,7 +22,7 @@ Summary: Utilities from the general purpose cryptography library with TLS implementation Name: openssl Version: 1.1.0h -Release: 3%{?dist} +Release: 3.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. @@ -242,6 +242,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 risv64 + --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-ssl3 enable-ssl3-method \ @@ -435,6 +438,9 @@ export LD_LIBRARY_PATH %postun libs -p /sbin/ldconfig %changelog +* Wed May 9 2018 David Abdurachmanov 1.1.0h-3.0.riscv64 +- Add --libdir=%{_lib} for riscv64 (uses linux-generic64) + * Tue Apr 3 2018 Tomáš Mráz 1.1.0h-3 - fix regression of c_rehash (#1562953)