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
This commit is contained in:
Tomas Pelka 2026-03-10 13:15:47 +01:00
parent 500318f4b8
commit 85429e7e8d

View File

@ -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