%global debug_package %{nil} %global __os_install_post %{nil} Name: uke-qseecom-tpm-live-probe Version: 1.0 Release: 1%{?dist} Summary: One-time resident Qualcomm TPM application lookup on Xiaomi Uke License: GPL-2.0-only ExclusiveArch: aarch64 Source0: 7.3.5-51.ko Source1: 7.3.5-52.ko Source2: module-signer.pem BuildRequires: kmod coreutils Requires: (senemos-uke-linux-kernel-mainline-core = 7.3.5-51%{?dist} or senemos-uke-linux-kernel-mainline-core = 7.3.5-52%{?dist}) %description A manually loaded diagnostic that queries QSEECOM for the fixed qcom.tz.tpm name. It reports the result in a read-only module parameter. It can only load on the matching Uke kernel and has no boot or module autoload integration. %prep set -o pipefail printf '%%s %%s\n' baea10f4ec9ce66dc3db65deb2c0afbd424712956bea7ceea20f0109ab641bd7 %{SOURCE0} 1f3e85c56c28c1f0ed04934dde21e75e6b2f9147fa8023e5b2de7113cdc3f8ea %{SOURCE1} 5313b90a81da2428d4e362c0fa0dc2abf242f939559d0c98ded5f80294e7dc36 %{SOURCE2} | sha256sum -c --strict for f in %{SOURCE0} %{SOURCE1}; do test "$(modinfo -F signer "$f")" = 'Uke Livepatch Module Signing 2026' test "$(modinfo -F sig_hashalgo "$f")" = sha256 test "$(modinfo -F vermagic "$f")" = "$(basename "$f" .ko) SMP preempt mod_unload aarch64" done %install install -Dm644 %{SOURCE0} %{buildroot}%{_libexecdir}/%{name}/7.3.5-51.ko install -Dm644 %{SOURCE1} %{buildroot}%{_libexecdir}/%{name}/7.3.5-52.ko install -Dm644 %{SOURCE2} %{buildroot}%{_datadir}/%{name}/module-signer.pem %files %{_libexecdir}/%{name}/ %{_datadir}/%{name}/ %changelog * Sun Nov 22 2026 Uke Linux Maintainers - 1.0-1 - Qualify the fitted QSEECOM TPM application lookup on the running kernel.