[packages/gnu-efi] - updated to 3.0.17
qboosh
qboosh at pld-linux.org
Sat Feb 10 20:52:54 CET 2024
commit 45920929f92a24cebf5edc4a4395e7ed23ba7c58
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 10 20:40:10 2024 +0100
- updated to 3.0.17
gnu-efi-make.patch | 8 ++++----
gnu-efi.spec | 10 +++++++---
2 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/gnu-efi.spec b/gnu-efi.spec
index 267034c..7749cf6 100644
--- a/gnu-efi.spec
+++ b/gnu-efi.spec
@@ -2,14 +2,14 @@ Summary: GNU-EFI - building EFI applications using the GNU toolchain
Summary(pl.UTF-8): GNU-EFI - tworzenie aplikacji EFI przy użyciu narzędzi GNU
Name: gnu-efi
# NOTE: don't use early 3.1, it doesn't support EFI x86_64
-Version: 3.0.15
-Release: 2
+Version: 3.0.17
+Release: 1
Epoch: 1
# Intel and HP's BSD-like license, except setjmp code coming from GRUB
License: BSD-like
Group: Development/Libraries
Source0: https://downloads.sourceforge.net/gnu-efi/%{name}-%{version}.tar.bz2
-# Source0-md5: 192d94e995ddd4ebdce4903adfd06039
+# Source0-md5: 832496719182e7d6a4b12bc7c0b534d2
Patch0: %{name}-make.patch
URL: https://sourceforge.net/projects/gnu-efi/
BuildRequires: binutils >= 3:2.17.50.0.14
@@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a apps/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+# compiled example apps
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gnuefi/apps
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -74,4 +77,5 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/crt0-efi-*.o
%{_libdir}/elf_*_efi.lds
%{_includedir}/efi
+%{_pkgconfigdir}/gnu-efi.pc
%{_examplesdir}/%{name}-%{version}
diff --git a/gnu-efi-make.patch b/gnu-efi-make.patch
index ac725c5..36eccf7 100644
--- a/gnu-efi-make.patch
+++ b/gnu-efi-make.patch
@@ -1,5 +1,5 @@
---- gnu-efi-3.0.15/lib/Makefile.orig 2023-04-01 20:48:36.167083944 +0200
-+++ gnu-efi-3.0.15/lib/Makefile 2023-04-01 20:48:38.843766575 +0200
+--- gnu-efi-3.0.17/lib/Makefile.orig 2024-02-10 20:12:40.581584850 +0100
++++ gnu-efi-3.0.17/lib/Makefile 2024-02-10 20:15:18.440729653 +0100
@@ -68,13 +68,12 @@ SUBDIRS = ia32 x86_64 ia64 aarch64 arm m
LIBDIRINSTALL = $(INSTALLROOT)$(LIBDIR)
@@ -9,9 +9,9 @@
-.PHONY: libsubdirs
-libsubdirs:
-- for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
+- @set -e ; for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
+.libsubdirs:
-+ for sdir in $(SUBDIRS); do mkdir -p $$sdir; done && touch .libsubdirs
++ @set -e ; for sdir in $(SUBDIRS); do mkdir -p $$sdir; done && touch .libsubdirs
-$(OBJS): libsubdirs
+$(OBJS): .libsubdirs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnu-efi.git/commitdiff/45920929f92a24cebf5edc4a4395e7ed23ba7c58
More information about the pld-cvs-commit
mailing list