From ccce630445a2f6c6d8827670b851f8ec6e51d135 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 2 Oct 2018 13:52:49 -0400 Subject: [PATCH] Put the legacy shim.efi binary in the right subpackage Resolves: rhbz#1631989 Signed-off-by: Peter Jones --- shim.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/shim.spec b/shim.spec index 8664d68..0dcf243 100644 --- a/shim.spec +++ b/shim.spec @@ -5,7 +5,7 @@ Name: shim Version: 15 -Release: 5%{?dist} +Release: 6%{?dist} Summary: First-stage UEFI bootloader License: BSD URL: https://github.com/rhboot/shim/ @@ -95,15 +95,18 @@ install -m 0700 %{shimefi} $RPM_BUILD_ROOT%{efi_esp_dir}/shim.efi | sed -e 's/\./\^/' -e 's,^\\\./,.*/,' -e 's,$,$,' > %{__brp_mangle_shebangs_exclude_from_file} %define_files -a %{efi_arch} -A %{efi_arch_upper} +%if %{provide_legacy_shim} +%{efi_esp_dir}/shim.efi +%endif %if %{efi_has_alt_arch} %define_files -a %{efi_alt_arch} -A %{efi_alt_arch_upper} %endif -%if %{provide_legacy_shim} -%{efi_esp_dir}/shim.efi -%endif - %changelog +* Tue Oct 02 2018 Peter Jones - 15-6 +- Put the legacy shim.efi binary in the right subpackage + Resolves: rhbz#1631989 + * Fri May 04 2018 Peter Jones - 15-5 - Rework the .spec to use efi-rpm-macros.