I wanted to push (attached) to the filesystem package in dist-git,
but a couple of things:
(1) "riscv64" isn't technically speaking an RPM architecture. I have
posted patches to RPM upstream, and I think that "riscv64" is the
right name.
(2) What is the purpose of the massive list of 64 bit architectures
there anyway? Wouldn't it be more sensible to use %{__isa_bits}
instead, as in:
%if 0%{__isa_bits} == 64
...
%endif
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
>From a3ecc935a9b16b901900887059bb08307193de60 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <[email protected]>
Date: Thu, 11 Aug 2016 12:43:47 +0100
Subject: [PATCH] Add riscv64 to the long list of arches in %{_lib} condition.
---
filesystem.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/filesystem.spec b/filesystem.spec
index dd9d207..57dcc58 100644
--- a/filesystem.spec
+++ b/filesystem.spec
@@ -178,7 +178,7 @@ restorecon /media 2>/dev/null >/dev/null || :
/etc/bash_completion.d/
/home
/lib
-%ifarch x86_64 ppc64 sparc64 s390x aarch64 ppc64le mips64 mips64el
+%ifarch x86_64 ppc64 sparc64 s390x aarch64 ppc64le mips64 mips64el riscv64
/%{_lib}
%endif
/media
@@ -209,7 +209,7 @@ restorecon /media 2>/dev/null >/dev/null || :
%ghost /usr/lib/debug/sbin
%attr(555,root,root) /usr/lib/games
%attr(555,root,root) /usr/lib/sse2
-%ifarch x86_64 ppc64 sparc64 s390x aarch64 ppc64le mips64 mips64el
+%ifarch x86_64 ppc64 sparc64 s390x aarch64 ppc64le mips64 mips64el riscv64
%attr(555,root,root) /usr/%{_lib}
%else
%attr(555,root,root) /usr/lib/tls
--
2.7.4
--
devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]