From f9db2268845f4a50733a70903491ae6c651a81a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Thu, 12 Dec 2024 14:41:25 +0800 Subject: [PATCH] include all patches in the source package. --- gnu-efi.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gnu-efi.spec b/gnu-efi.spec index e26b1b8..baab1dd 100644 --- a/gnu-efi.spec +++ b/gnu-efi.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: gnu-efi Version: 3.0.18 -Release: 1 +Release: 2 Summary: Development Libraries and headers for EFI Epoch: 1 License: BSD @@ -10,11 +10,9 @@ ExclusiveArch: x86_64 aarch64 loongarch64 riscv64 Source0: https://sourceforge.net/projects/gnu-efi/files/%{name}-%{version}.tar.bz2 #stubs-32.h comes from http://www.gnu.org/software/glibc/ Source1: stubs-32.h -Patch1: 0001-gnu-efi-add-CHAR16-for-loongarch64.patch -%ifarch riscv64 +Patch1: 0001-gnu-efi-add-CHAR16-for-loongarch64.patch Patch2: riscv64-fix-efibind.h-missing-duplicate-types.patch -%endif %global efidir %(eval echo $(grep ^ID= /etc/os-release | sed 's/^ID=//')) @@ -49,7 +47,11 @@ 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 install -d gnuefi/gnu install -Dp %{SOURCE1} gnuefi/gnu/ @@ -78,6 +80,9 @@ mv %{efiarch}/apps/{route80h.efi,modelist.efi} %{buildroot}/boot/efi/EFI/%{efidi %{_includedir}/efi %changelog +* Thu Dec 12 2024 shenzhongwei - 1:3.0.18-2 +- include all patches in the source package. + * Wed Dec 04 2024 zhang_wenyu1 - 1:3.0.18-1 - Upgrade to version 3.0.18 -- Gitee