-From 2b02641ebbfad717ef02f42c836b9b001a4269c9 Mon Sep 17 00:00:00 2001
+From abe2459b56723a1ee1366056be5e8546a1a8facb Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 9 Aug 2016 18:25:24 +0100
-Subject: [PATCH 1/3] RISCV 64-bit (riscv64) support.
+Subject: [PATCH 1/4] RISCV 64-bit (riscv64) support.
Based on Mark Salter's aarch64 support patch (commit 8e1ca16c58).
CANONARCH=noarch
CANONCOLOR=0
diff --git a/rpmrc.in b/rpmrc.in
-index e888b0f..5b9b71d 100644
+index e888b0f..830b9ed 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -99,6 +99,8 @@ optflags: sh4a -O2 -g -mieee
arch_canon: mips64r6: mips64r6 21
arch_canon: mips64r6el: mips64r6el 21
-+arch_canon: riscv64: riscv64 22
++arch_canon: riscv: riscv64 22
+
#############################################################
# Canonical OS names and numbers