diff --git a/efibootmgr-16.tar.bz2 b/efibootmgr-16.tar.bz2 deleted file mode 100644 index 25e05148cc2f6a5eb808c75cf9cc798a0e958a06..0000000000000000000000000000000000000000 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 0000000000000000000000000000000000000000..6000e819daa76401c6851170e26e66f948b5fcc6 Binary files /dev/null and b/efibootmgr-17.tar.gz differ diff --git a/efibootmgr.spec b/efibootmgr.spec index 1117712638adca89253725193030a549e9b0bb87..dcc125e4e00bc9073eae359a245bbc7a080f0a12 100644 --- a/efibootmgr.spec +++ b/efibootmgr.spec @@ -1,10 +1,12 @@ Name: efibootmgr -Release: 5 -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/%{name}-%{version}/%{name}-%{version}.tar.bz2 +Source0: https://github.com/rhboot/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz + +Patch0: remove_extra_decl.patch BuildRequires: efi-srpm-macros >= 3-2 efi-filesystem git popt-devel efivar-libs >= 35-2 efivar-devel >= 35-2 Requires: efi-filesystem @@ -45,5 +47,8 @@ rm -rf %{buildroot} %{_mandir}/*/*.?.gz %changelog +* Sat Aug 29 2020 yuboyun - 17-1 +- update to 17 + * Sun Sep 15 2019 yanzhihua - 16-5 - Package init. diff --git a/remove_extra_decl.patch b/remove_extra_decl.patch new file mode 100644 index 0000000000000000000000000000000000000000..4bf7111c9a8f21a69eafde6ac52f6e6a758db464 --- /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':