diff --git a/shim-leap.spec b/shim-leap.spec index 977cbb7..e51ec45 100644 --- a/shim-leap.spec +++ b/shim-leap.spec @@ -24,11 +24,10 @@ %define shim_lib64_share_compat 1 %endif -%ifarch x86_64 -%define pkg_t lp155.8.2.x86_64 -%endif -%ifarch aarch64 -%define pkg_t lp155.8.8.aarch64 +%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 @@ -37,7 +36,7 @@ Release: 0 Summary: UEFI shim loader License: BSD-2-Clause Group: System/Boot -Source0: shim-15.8-%{pkg_t}.rpm +Source0: %{rpm_src} Source1: README Source2: shim-install BuildRequires: fde-tpm-helper-rpm-macros