Convert to a patch that git am would be happy with

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-11-23 16:56:10 +02:00
parent 2ba5cca838
commit 4b02670d34
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
From ab785e042fe2190c6a52535d92bc93276f813b7b Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Wed, 23 Nov 2022 16:55:17 +0200
Subject: [PATCH] add riscv64
Signed-off-by: rpm-build <rpm-build>
diff --git a/Makefile b/Makefile
index 7d56eae..221c46d 100644
--- a/Makefile
@ -37,3 +44,6 @@ index 00503f1..7f258c7 100644
else
return("none")
end
--
2.37.1

View File

@ -11,7 +11,7 @@ BuildArch: noarch
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-5.tar.bz2
Patch0001: 0001-Don-t-have-arm-as-an-alt-arch-of-aarch64.patch
Patch0002: efi-rpm-macros-5-riscv64.patch
Patch0002: 0001-add-riscv64.patch
%global debug_package %{nil}
%global _efi_vendor_ %(eval echo $(sed -n -e 's/rhel/redhat/' -e 's/^ID=//p' /etc/os-release))