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)