Use lib64 on RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-09-17 18:37:18 +03:00
parent 8e3a938d6b
commit ef203a8726
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ index b496020..30ee0df 100644
ax_arch=`uname -m`
case $ax_arch in
- x86_64|ppc64|s390x|sparc64|aarch64)
+ x86_64|ppc64|ppc64le|s390x|sparc64|aarch64)
+ x86_64|ppc64|ppc64le|s390x|sparc64|aarch64|riscv64)
libsubdirs="lib64 lib lib64"
;;
esac

View File

@ -50,7 +50,7 @@
Name: thrift
Version: 0.10.0
Release: 15%{?dist}
Release: 15.0.riscv64%{?dist}
Summary: Software framework for cross-language services development
# Parts of the source are used under the BSD and zlib licenses, but
@ -532,6 +532,9 @@ find %{buildroot} -name \*.py -exec grep -q /usr/bin/env {} \; -print | xargs -r
%doc LICENSE NOTICE
%changelog
* Mon Sep 17 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 0.10.0-15.0.riscv64
- Use lib64 on RISC-V (riscv64)
* Wed Jul 18 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 0.10.0-15
- Rebuild to address transient error