From 99b1d687bee8437fe7dcf11e1aa0964f553048fd Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 28 Feb 2018 13:23:35 -0500 Subject: [PATCH] Fix an inverted test that crept in in the signing macro. (Woops.) Signed-off-by: Peter Jones --- shim.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shim.spec b/shim.spec index f596e3f..7a517ce 100644 --- a/shim.spec +++ b/shim.spec @@ -8,7 +8,7 @@ Name: shim Version: 13 -Release: 2%{dist} +Release: 4%{dist} Summary: First-stage UEFI bootloader License: BSD URL: http://github.com/rhboot/shim/ @@ -131,7 +131,7 @@ if [ "%{-b*}" = "yes" ]; then \ %{expand:%%distrosign -b shim -a %{-a*} -d %{-d*}} \ mv shim%{-a*}-signed.efi shim%{-a*}-%{efidir}.efi \ fi \ -if [ "%{-c*}" = "yes" ]; then \ +if [ "%{-c*}" = "no" ]; then \ cp shim%{-a*}-%{efidir}.efi shim%{-a*}.efi \ fi \ %{expand:%%distrosign -b mm -a %{-a*} -d %{-d*}} \ @@ -222,6 +222,9 @@ install -m 0700 %{SOURCE10} $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/shim.efi %endif %changelog +* Wed Feb 28 2018 Peter Jones - 13-4 +- Fix an inverted test that crept in in the signing macro. (Woops.) + * Wed Feb 28 2018 Peter Jones - 13-2 - Pivot the shim-signed package to be here.