From 85429e7e8d69c929cbfbaaa060428a04a58ed429 Mon Sep 17 00:00:00 2001 From: Tomas Pelka Date: Tue, 10 Mar 2026 13:15:47 +0100 Subject: [PATCH] spec: Fix UEFI configuration and meson build options - Remove duplicated have_uefi conditional block that incorrectly disabled efi_binary in the second block - Consolidate UEFI settings into single conditional section - Add --auto-features=auto for more predictable meson build output - Restore efi_os_dir configuration that was accidentally dropped This fixes potential build issues on aarch64 caused by the conflicting UEFI configuration blocks. remove --auto-features=aut --- fwupd.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fwupd.spec b/fwupd.spec index cb2bdcc..99fffbb 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -279,6 +279,7 @@ cd - %if 0%{?have_uefi} -Defi_binary=true \ -Dfwupd-efi:genpeimg=disabled \ + -Defi_os_dir=%{efi_vendor} \ %endif %if 0%{?have_gi_docgen} -Ddocs=enabled \ @@ -295,10 +296,6 @@ cd - %else -Dplugin_flashrom=disabled \ %endif -%if 0%{?have_uefi} - -Defi_binary=false \ - -Defi_os_dir=%{efi_vendor} \ -%endif %if 0%{?have_modem_manager} -Dplugin_modem_manager=enabled \ %else