diff --git a/gnu-efi-3.0.15.tar.bz2 b/gnu-efi-3.0.15.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..c880fe1a8c2d28f4b2d30b222695f0a57cbfd6fb Binary files /dev/null and b/gnu-efi-3.0.15.tar.bz2 differ diff --git a/gnu-efi-3.0.8.tar.bz2 b/gnu-efi-3.0.8.tar.bz2 deleted file mode 100644 index cf76be6f07651cdbc0c1140f1ad906ae628c22b9..0000000000000000000000000000000000000000 Binary files a/gnu-efi-3.0.8.tar.bz2 and /dev/null differ diff --git a/gnu-efi.spec b/gnu-efi.spec index 9c377bf61b0daf8dba73a92bff19be0873ae6300..3228387a9cc4f85d2eea9ded64b3017349e8b47b 100644 --- a/gnu-efi.spec +++ b/gnu-efi.spec @@ -1,15 +1,13 @@ %define debug_package %{nil} Name: gnu-efi -Version: 3.0.8 -Release: 10 +Version: 3.0.15 +Release: 1 Summary: Development Libraries and headers for EFI Epoch: 1 License: BSD URL: ftp://ftp.hpl.hp.com/pub/linux-ia64 -ExclusiveArch: x86_64 aarch64 -Source0: https://sourceforge.net/projects/gnu-efi/files/gnu-efi-3.0.8.tar.bz2 -#stubs-32.h comes from http://www.gnu.org/software/glibc/ -Source1: stubs-32.h +ExclusiveArch: x86_64 aarch64 riscv64 +Source0: https://sourceforge.net/projects/gnu-efi/files/gnu-efi-3.0.15.tar.bz2 %global efidir %(eval echo $(grep ^ID= /etc/os-release | sed 's/^ID=//')) @@ -19,6 +17,9 @@ Source1: stubs-32.h %ifarch aarch64 %global efiarch aarch64 %endif +%ifarch riscv64 +%global efiarch riscv64 +%endif Provides: %{name}-utils = %{epoch}:%{version}-%{release} Obsoletes: %{name}-utils < %{epoch}:%{version}-%{release} @@ -38,9 +39,8 @@ This package contains development headers and libraries for developing applications that run under EFI (Extensible Firmware Interface). %prep -%autosetup -n gnu-efi-3.0.8 -p1 +%autosetup -n gnu-efi-3.0.15 -p1 install -d gnuefi/gnu -install -Dp %{SOURCE1} gnuefi/gnu/ %build make @@ -77,27 +77,31 @@ mv ia32/apps/{route80h.efi,modelist.efi} %{buildroot}/boot/efi/EFI/%{efidir}/ia3 %{_includedir}/efi %changelog -* Mon Jun 7 2021 baizhonggui - 3.0.8-10 +* Thu Feb 23 2023 misaka00251 - 1:3.0.15-1 +- Upgrade to 3.0.15 & Enable build on riscv64 +- Fix changelog + +* Mon Jun 7 2021 baizhonggui - 1:3.0.8-10 - Fix building error: make[1]: gcc: No such file or directory - Add gcc in BuildRequires -* Thu Sep 10 2020 liuweibo - 3.0.8-9 +* Thu Sep 10 2020 liuweibo - 1:3.0.8-9 - Fix Source0 -* Wed Mar 18 2020 likexin - 3.0.8-8 +* Wed Mar 18 2020 likexin - 1:3.0.8-8 - Delete modify-cflags.patch -* Wed Mar 18 2020 likexin - 3.0.8-7 +* Wed Mar 18 2020 likexin - 1:3.0.8-7 - Fix up modify-cflags.patch -* Wed Mar 18 2020 likexin - 3.0.8-6 +* Wed Mar 18 2020 likexin - 1:3.0.8-6 - Add cflags -fstack-protector-strong -* Fri Mar 13 2020 zhujunhao - 3.0.8-5 +* Fri Mar 13 2020 zhujunhao - 1:3.0.8-5 - Modify x86 build failed -* Wed Jan 15 2020 yuxiangyang4 - 3.0.8-4 +* Wed Jan 15 2020 yuxiangyang4 - 1:3.0.8-4 - Upgrade source code to 3.0.8 -* Wed Nov 20 2019 yangjian - 3.0.8-3 +* Wed Nov 20 2019 yangjian - 1:3.0.8-3 - Package init diff --git a/stubs-32.h b/stubs-32.h deleted file mode 100644 index ec6406071abbf66d5650a018580588e826b66558..0000000000000000000000000000000000000000 --- a/stubs-32.h +++ /dev/null @@ -1,20 +0,0 @@ -/* This file is automatically generated. - * It defines a symbol `__stub_FUNCTION' for each function - * in the C library which is a stub, meaning it will fail - * every time called, usually setting errno to ENOSYS. */ - -#ifdef _LIBC - #error Applications may not define the macro _LIBC -#endif - -#define __stub_chflags -#define __stub_fattach -#define __stub_fchflags -#define __stub_fdetach -#define __stub_gtty -#define __stub_lchmod -#define __stub_revoke -#define __stub_setlogin -#define __stub_sigreturn -#define __stub_sstk -#define __stub_stty