diff --git a/efibootmgr-16.tar.bz2 b/efibootmgr-16.tar.bz2 deleted file mode 100644 index 25e0514..0000000 Binary files a/efibootmgr-16.tar.bz2 and /dev/null differ diff --git a/efibootmgr-17.tar.gz b/efibootmgr-17.tar.gz new file mode 100644 index 0000000..6000e81 Binary files /dev/null and b/efibootmgr-17.tar.gz differ diff --git a/efibootmgr.spec b/efibootmgr.spec index 50a47a8..59a074c 100644 --- a/efibootmgr.spec +++ b/efibootmgr.spec @@ -1,11 +1,12 @@ Name: efibootmgr -Release: 8 -Version: 16 +Release: 1 +Version: 17 Summary: A tool manipulating the EFI Boot Manager License: GPLv2+ URL: https://github.com/rhboot/%{name}/ -Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2 +Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +Patch0: remove_extra_decl.patch Patch6000: backport-get-rid-of-a-memory-leak-of-deleted-boot-entries.patch BuildRequires: gcc @@ -48,6 +49,9 @@ rm -rf %{buildroot} %{_mandir}/*/*.?.gz %changelog +* Mon Jun 21 2021 hanhui - 17-1 +- update to 17 + * Tue Jun 8 2021 hanhui - 16-8 - round community patches fix memory leak diff --git a/remove_extra_decl.patch b/remove_extra_decl.patch new file mode 100644 index 0000000..4bf7111 --- /dev/null +++ b/remove_extra_decl.patch @@ -0,0 +1,24 @@ +From 99b578501643377e0b1994b2a068b790d189d5ad Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Wed, 13 Jun 2018 09:41:01 -0400 +Subject: [PATCH] remove extra decl + +Signed-off-by: Peter Jones +--- + src/efibootmgr.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/efibootmgr.c b/src/efibootmgr.c +index de38f01..4e1a680 100644 +--- a/src/efibootmgr.c ++++ b/src/efibootmgr.c +@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv) + "invalid numeric value %s\n", + optarg); + } +- /* XXX efivar-36 accidentally doesn't have a public +- * header for this */ +- extern int efi_set_verbose(int verbosity, FILE *errlog); + efi_set_verbose(opts.verbose - 2, stderr); + break; + case 'V':