Name: nabu-uefi-smbios-alpha Version: 0.1.0 Release: 1%{?dist} Summary: Alpha Xiaomi Pad 5 UEFI image with corrected SMBIOS metadata License: BSD-2-Clause URL: https://github.com/edk2-porting/edk2-msm Source0: %{name}-%{version}.tar.xz BuildArch: noarch %description Stages an alpha Xiaomi Pad 5 (nabu) UEFI boot image whose SMBIOS system manufacturer is Xiaomi Communications Co., Ltd. and whose Type 1 product name is suppressed to avoid duplicating the canonical product model supplied by the Linux device tree. Package installation never flashes firmware or changes boot selection. %prep %autosetup %build %install install -Dpm0644 boot-nabu.img \ %{buildroot}%{_datadir}/%{name}/boot-nabu.img install -Dpm0644 nabu-smbios.patch \ %{buildroot}%{_datadir}/%{name}/nabu-smbios.patch install -Dpm0644 SOURCE-PROVENANCE \ %{buildroot}%{_datadir}/%{name}/SOURCE-PROVENANCE %check echo '5b54eaa9a776a24255c932854a046d340993484b3e50393636a95790192a2643 boot-nabu.img' | sha256sum -c - grep -F 'PcdDeviceVendor|"Xiaomi Communications Co., Ltd."' nabu-smbios.patch grep -F 'PcdDeviceProduct|"Xiaomi Pad 5"' nabu-smbios.patch grep -F 'mSysInfoType1.ProductName = 0;' nabu-smbios.patch %files %license LICENSE %doc README.md %{_datadir}/%{name}/ %changelog * Fri Aug 28 2026 mcc45tr - 0.1.0-1 - Correct Nabu SMBIOS manufacturer metadata. - Suppress the duplicate SMBIOS Type 1 product name while retaining the FDT model and SMBIOS Type 2 board product. - Stage the alpha boot image without automatic flashing or boot changes.