Fix typo in %ifarch

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-05-09 17:28:10 +02:00
parent 366634ae28
commit 2e9a37afa3
1 changed files with 5 additions and 2 deletions

View File

@ -22,7 +22,7 @@
Summary: Utilities from the general purpose cryptography library with TLS implementation
Name: openssl
Version: 1.1.0h
Release: 3.0.riscv64%{?dist}
Release: 3.1.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,7 +242,7 @@ 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
%ifarch riscv64
--libdir=%{_lib} \
%endif
--system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/openssl.config \
@ -438,6 +438,9 @@ export LD_LIBRARY_PATH
%postun libs -p /sbin/ldconfig
%changelog
* Wed May 9 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> 1.1.0h-3.1.riscv64
- Fix typo in ifarch statement
* Wed May 9 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> 1.1.0h-3.0.riscv64
- Add --libdir=%{_lib} for riscv64 (uses linux-generic64)