From 3f7f289efc6a52ea2e8ce071ae513be023cfbaae Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 28 Apr 2023 15:51:37 +0300 Subject: [PATCH] Bring back --libdir for riscv64 Signed-off-by: David Abdurachmanov --- openssl.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openssl.spec b/openssl.spec index a7f760f..3d8a8ae 100644 --- a/openssl.spec +++ b/openssl.spec @@ -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: 2.0.riscv64%{?dist} +Release: 2.1.riscv64%{?dist} Epoch: 1 Source: openssl-%{version}.tar.gz Source2: Makefile.certificate @@ -289,6 +289,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\ @@ -483,6 +486,9 @@ install -m644 %{SOURCE9} \ %ldconfig_scriptlets libs %changelog +* Fri Apr 28 2023 David Abdurachmanov - 1:3.0.8-2.1.riscv64 +- Bring back --libdir= + * Fri Apr 28 2023 David Abdurachmanov - 1:3.0.8-2.0.riscv64 - Add --libdir=%{_lib} for riscv64 (uses linux-generic64)