diff --git a/gnu-efi.spec b/gnu-efi.spec index 3ac89d4c67b0459cabc5cbf617bcd1850da5b954..6f8267a66c9fc9cefb5d671ba1685fe811597928 100644 --- a/gnu-efi.spec +++ b/gnu-efi.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: gnu-efi Version: 3.0.17 -Release: 8 +Release: 9 Summary: Development Libraries and headers for EFI Epoch: 1 License: BSD @@ -12,9 +12,7 @@ Source0: https://sourceforge.net/projects/gnu-efi/files/%{name}-%{version} Source1: stubs-32.h Patch1: 0001-gnu-efi-add-CHAR16-for-loongarch64.patch -%ifarch riscv64 Patch2: riscv64-fix-efibind.h-missing-duplicate-types.patch -%endif Patch3: fix-build-error-on-loongarch64.patch %global efidir %(eval echo $(grep ^ID= /etc/os-release | sed 's/^ID=//')) @@ -50,7 +48,12 @@ This package contains development headers and libraries for developing applications that run under EFI (Extensible Firmware Interface). %prep -%autosetup -n %{name}-%{version} -p1 +%setup -n %{name}-%{version} +%patch -P 1 -p1 +%ifarch riscv64 +%patch -P 2 -p1 +%endif +%patch -P 3 -p1 install -d gnuefi/gnu install -Dp %{SOURCE1} gnuefi/gnu/ @@ -79,6 +82,9 @@ mv %{efiarch}/apps/{route80h.efi,modelist.efi} %{buildroot}/boot/efi/EFI/%{efidi %{_includedir}/efi %changelog +* Tue Dec 10 2024 shenzhongwei - 1:3.0.17-9 +- include all patches in the source package. + * Tue Oct 29 2024 Wenlong Zhang - 1:3.0.17-8 - fix build error on loongarch64