diff --git a/efi-rpm-macros.spec b/efi-rpm-macros.spec index 48f1b83b4ae6454bfca46eec6447f125bbb40d21..735283dd1933b6d3e8dc2775f4b7c1f0bce1c49c 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