%global debug_package %{nil} %global __os_install_post %{nil} Name: uke-qseecom-tpm-live-module Version: 1.0 Release: 2%{?dist} Summary: Build a fixed resident Qualcomm TPM app lookup for Xiaomi Uke License: GPL-2.0-only ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.xz BuildRequires: bash curl cpio rpm gnupg2 gawk coreutils findutils tar xz sed grep diffutils BuildRequires: clang llvm lld gcc make perl bc bison flex binutils kmod openssl-devel elfutils-libelf-devel %description Reproduce the explicit lookup for the matching signed Uke kernel ABIs. The output contains unsigned build artifacts for offline module signing. %prep set -o pipefail printf '%%s %%s\n' 9b9863ae9294a0f7da7608b0588593e51f80f6614f1beb6b8ac71dbad3d940d9 %{SOURCE0} | sha256sum -c --strict mkdir inputs results tar -xJf %{SOURCE0} -C inputs (cd inputs; sha256sum -c --strict --quiet SHA256SUMS) %build bash inputs/build-lookup-module.sh inputs results %install install -d %{buildroot}%{_datadir}/%{name} install -m644 results/* %{buildroot}%{_datadir}/%{name}/ %files %{_datadir}/%{name}/ %changelog * Sun Nov 22 2026 Uke Linux Maintainers - 1.0-2 - Build the same diagnostic for the signed 7.3.5-53 kernel.