diff --git a/shim-leap.changes b/shim-leap.changes index 7ce9d7b..d9ac18e 100644 --- a/shim-leap.changes +++ b/shim-leap.changes @@ -3,6 +3,7 @@ Mon Sep 2 08:07:02 UTC 2024 - Dennis Tseng - Update shim version for aarch64 to shim-15.8-lp155.8.8.aarch64.rpm coming from openSUSE secure-boot 15.5 + + To avoid failure check by robot, SOURCEs in spec file are redefined. + Version: 15.8, "Jan 23 2024" + Include the bug fixes for bsc#1215099,bsc#1215098,bsc#1215100,bsc#1215101, bsc#1215102, and bsc#1215103. diff --git a/shim-leap.spec b/shim-leap.spec index e51ec45..d61ef82 100644 --- a/shim-leap.spec +++ b/shim-leap.spec @@ -24,21 +24,16 @@ %define shim_lib64_share_compat 1 %endif -%ifarch x86_64 -%define rpm_src shim-15.8-lp155.8.2.x86_64.rpm -%else -%define rpm_src shim-15.8-lp155.8.8.aarch64.rpm -%endif - Name: shim-leap Version: 15.8 Release: 0 Summary: UEFI shim loader License: BSD-2-Clause Group: System/Boot -Source0: %{rpm_src} -Source1: README -Source2: shim-install +Source0: shim-15.8-lp155.8.2.x86_64.rpm +Source1: shim-15.8-lp155.8.8.aarch64.rpm +Source2: README +Source3: shim-install BuildRequires: fde-tpm-helper-rpm-macros BuildRequires: update-bootloader-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -60,14 +55,18 @@ shim is a trivial EFI application that, when run, attempts to open and execute another application. %prep +%ifarch x86_64 rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-time --make-directories +%else +rpm2cpio %{SOURCE1} | cpio --extract --unconditional --preserve-modification-time --make-directories +%endif %build %install # purely repackaged cp -a * %{buildroot} -cp %{S:1} . +cp %{S:2} . # Override shim-install install -m 755 %{S:2} %{buildroot}/%{_sbindir}/shim-install