Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnu-efi for openSUSE:Factory checked in at 2024-12-18 20:08:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnu-efi (Old) and /work/SRC/openSUSE:Factory/.gnu-efi.new.29675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnu-efi" Wed Dec 18 20:08:53 2024 rev:37 rq:1231643 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnu-efi/gnu-efi.changes 2022-12-21 16:06:28.850502799 +0100 +++ /work/SRC/openSUSE:Factory/.gnu-efi.new.29675/gnu-efi.changes 2024-12-18 20:08:55.774244537 +0100 @@ -1,0 +2,37 @@ +Sun Dec 8 15:28:22 UTC 2024 - Callum Farmer <gm...@opensuse.org> + +- Split into apps and devel packages +- Remove rpmlintrc: All errors are now fixed + +------------------------------------------------------------------- +Tue Dec 3 13:58:03 UTC 2024 - Callum Farmer <gm...@opensuse.org> + +- Update to gnu-efi 4.0.0: + * Add MP Services Protocol Support + * Add some more pkgconfig variables + * Replace 'Copright' with 'Copyright' + * Add clear documentation for building and packaging + * Align CRT0 exit function naming + * Now built and verified using GitHub Actions + * Fix SetMem/CopyMem again + * Move ReallocatePool/CompareGuid/CopyMem to EDK2 ABI + * Add non-objcopy CRT0/LDS for ARM64/RISCV64/IA32 +- Remove gnu-efi-bsc1182057-support-sbat-section.patch: + * no longer needed; fwupd-efi has been fixed upstream + (by me) + +------------------------------------------------------------------- +Thu Jun 29 14:18:10 UTC 2023 - Callum Farmer <gm...@opensuse.org> + +- Update to gnu-efi 3.0.18: + * Add pkgconfig file + * Make ELF constructors and destructors work + * Make CHAR8 and similar be defined the same way edk2 does it + * Switch to -fPIE + * Merge all rela sections into one +- gnu-efi-bsc1182057-support-sbat-section.patch: + * Restore ARM32 SBAT crt0 patch as binutils doesn't actually + support it + * Add SBAT support for RISC-V 64 + +------------------------------------------------------------------- Old: ---- gnu-efi-3.0.15.tar.bz2 gnu-efi-bsc1182057-support-sbat-section.patch gnu-efi-rpmlintrc New: ---- gnu-efi-4.0.0.tar.gz BETA DEBUG BEGIN: Old: * Add non-objcopy CRT0/LDS for ARM64/RISCV64/IA32 - Remove gnu-efi-bsc1182057-support-sbat-section.patch: * no longer needed; fwupd-efi has been fixed upstream BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnu-efi.spec ++++++ --- /var/tmp/diff_new_pack.1LWazU/_old 2024-12-18 20:08:56.314267045 +0100 +++ /var/tmp/diff_new_pack.1LWazU/_new 2024-12-18 20:08:56.314267045 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnu-efi # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,13 @@ Name: gnu-efi -Version: 3.0.15 +Version: 4.0.0 Release: 0 Summary: Library for EFI Applications License: BSD-3-Clause AND GPL-2.0-or-later Group: Development/Libraries/Other -URL: https://sourceforge.net/projects/gnu-efi -Source0: https://download.sourceforge.net/project/gnu-efi/gnu-efi-%{version}.tar.bz2 -Source1: %{name}-rpmlintrc -Patch0: gnu-efi-bsc1182057-support-sbat-section.patch +URL: https://github.com/ncroxon/gnu-efi +Source0: https://github.com/ncroxon/gnu-efi/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: kernel-source ExclusiveArch: ia64 %{ix86} x86_64 aarch64 %{arm} riscv64 @@ -34,32 +32,47 @@ ARM-32, and ARM-64 platforms using the GNU toolchain and the EFI development environment. +%package devel +Summary: Development files for gnu-efi +Group: Development/Libraries/Other +Provides: gnu-efi = %{version}-%{release} +Obsoletes: gnu-efi < %{version}-%{release} + +%description devel +A package containing the development files for gnu-efi, +which is used for developing EFI applications using the GNU toolchain + +%package apps +Summary: Example and test files for gnu-efi +Group: Development/Tools/Other + +%description apps +A package containing the example and UEFI testing files created by gnu-efi + + %prep %autosetup -p1 %build -########################## -## DO NOT ADD RPM OPT FLAGS! THIS DOES NOT BUILD AGAINST GLIBC -## -########################## -# Trick spec-cleaner in avoiding a make_build expansion -%{_bindir}/make %{?_smp_mflags} LINUX_HEADERS=%{_prefix}/src/linux +# DO NOT ADD RPM OPTFLAGS! UEFI is freestanding only!! +%make_build LINUX_HEADERS=%{_prefix}/src/linux LIBDIR=%{_libdir} PREFIX=%{_prefix} %install -make install INSTALLROOT=%{buildroot} LIBDIR=%{_libdir} PREFIX=%{_prefix} -%if 0 -mkdir %{buildroot}%{_libdir}/%{name} -cp -p apps/*.efi %{buildroot}%{_libdir}/%{name} -%endif +%make_install INSTALLROOT=%{buildroot} LIBDIR=%{_libdir} PREFIX=%{_prefix} -%files -%doc README.* +%files devel %{_includedir}/efi %{_libdir}/crt0-efi-*.o %{_libdir}/elf_*_efi.lds +%ifarch %{ix86} riscv64 aarch64 +%{_libdir}/elf_*_efi_local.lds +%endif %{_libdir}/libefi.a %{_libdir}/libgnuefi.a -%if 0 -%{_libdir}/%{name} -%endif +%{_libdir}/pkgconfig/%{name}.pc + +%files apps +%doc README.md SECURITY.md docs/* +%license LICENSE licenses/* +%{_libdir}/gnuefi