!47 同步源码包同源异构问题修复
From: @zhong-wei-shen Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
fd18314c4f
18
gnu-efi.spec
18
gnu-efi.spec
@ -1,7 +1,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: gnu-efi
|
Name: gnu-efi
|
||||||
Version: 3.0.17
|
Version: 3.0.17
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: Development Libraries and headers for EFI
|
Summary: Development Libraries and headers for EFI
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -10,11 +10,9 @@ ExclusiveArch: x86_64 aarch64 loongarch64 riscv64
|
|||||||
Source0: https://sourceforge.net/projects/gnu-efi/files/%{name}-%{version}.tar.bz2
|
Source0: https://sourceforge.net/projects/gnu-efi/files/%{name}-%{version}.tar.bz2
|
||||||
#stubs-32.h comes from http://www.gnu.org/software/glibc/
|
#stubs-32.h comes from http://www.gnu.org/software/glibc/
|
||||||
Source1: stubs-32.h
|
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
|
Patch2: riscv64-fix-efibind.h-missing-duplicate-types.patch
|
||||||
%endif
|
|
||||||
|
|
||||||
# https://sourceforge.net/p/gnu-efi/code/merge-requests/65/
|
# https://sourceforge.net/p/gnu-efi/code/merge-requests/65/
|
||||||
# https://github.com/rhboot/gnu-efi/commit/52455a5f10d24bda9df92d77363f2ce4d135b2be
|
# https://github.com/rhboot/gnu-efi/commit/52455a5f10d24bda9df92d77363f2ce4d135b2be
|
||||||
@ -55,7 +53,14 @@ This package contains development headers and libraries for developing
|
|||||||
applications that run under EFI (Extensible Firmware Interface).
|
applications that run under EFI (Extensible Firmware Interface).
|
||||||
|
|
||||||
%prep
|
%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
|
||||||
|
%patch -P 4 -p1
|
||||||
|
%patch -P 5 -p1
|
||||||
install -d gnuefi/gnu
|
install -d gnuefi/gnu
|
||||||
install -Dp %{SOURCE1} gnuefi/gnu/
|
install -Dp %{SOURCE1} gnuefi/gnu/
|
||||||
|
|
||||||
@ -84,6 +89,9 @@ mv %{efiarch}/apps/{route80h.efi,modelist.efi} %{buildroot}/boot/efi/EFI/%{efidi
|
|||||||
%{_includedir}/efi
|
%{_includedir}/efi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 10 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 1:3.0.17-9
|
||||||
|
- include all patches in the source package.
|
||||||
|
|
||||||
* Mon May 27 2024 yueyuankun <yueyuankun@kylinos.cn> - 1:3.0.17-8
|
* Mon May 27 2024 yueyuankun <yueyuankun@kylinos.cn> - 1:3.0.17-8
|
||||||
- LoongArch64: backport upstream patches, fix compilation errors
|
- LoongArch64: backport upstream patches, fix compilation errors
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user