From a1410df7ab83a8337ca6dbb921f8ccee791f50f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Mon, 9 Dec 2024 17:54:04 +0800 Subject: [PATCH] include all patches in the source package. --- efi-rpm-macros.spec | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/efi-rpm-macros.spec b/efi-rpm-macros.spec index 48f1b83..735283d 100644 --- a/efi-rpm-macros.spec +++ b/efi-rpm-macros.spec @@ -4,18 +4,14 @@ Name: efi-rpm-macros Version: 4 -Release: 10 +Release: 11 Summary: A set of EFI-related RPM Macros License: GPLv3+ URL: https://github.com/rhboot/%{name}/ Source0: https://github.com/rhboot/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -%ifarch loongarch64 Patch0: add-loongarch64-support-for-efi-arch.patch -%endif -%ifarch sw_64 Patch1: efi-rpm-macros-Add-sw64-architecture.patch -%endif Patch2: 0001-add-riscv64-support-for-efi-arch.patch BuildRequires: git sed @@ -43,7 +39,18 @@ information of EIF machines, it contains the basic directory layout for EFI machine bootloaders and tools. %prep -%autosetup -S git -n %{name}-4 +%setup -n %{name}-4 + +%ifarch loongarch64 +%patch -P 0 -p1 +%endif + +%ifarch sw_64 +%patch -P 1 -p1 +%endif + +%patch -P 2 -p1 + git config --local --add efi.vendor "%{_vendor}" git config --local --add efi.esp-root /boot/efi git config --local --add efi.arches "x86_64 aarch64 loongarch64 sw_64 riscv64" @@ -66,6 +73,9 @@ git config --local --add efi.arches "x86_64 aarch64 loongarch64 sw_64 riscv64" %{_prefix}/lib/rpm/brp-boot-efi-times %changelog +* Mon Dec 09 2024 shenzhongwei - 4-11 +- include all patches in the source package. + * Wed May 29 2024 Ouuleilei - 4-10 - Add riscv64 architecture -- Gitee