%global debug_package %{nil} Name: uke-control-rust-boot-image-check Version: 1.0.0 Release: 1%{?dist} Summary: Hardware-free ARM64 witness for Uke Android v4 boot image and profile License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros cargo rust coreutils gcc-c++ %description Checks the exact published header and boot policy on synthetic data without accessing any device. %prep %autosetup sha256sum --check --strict --quiet rust-package-sources.sha256 %cargo_prep %install install -D -m644 rust-package-sources.sha256 %{buildroot}%{_docdir}/%{name}/rust-package-sources.sha256 %check %{__cxx} %{build_cxxflags} -std=c++20 -UNDEBUG -Werror reference/profile.cpp %{build_ldflags} -o profile-reference ./profile-reference cargo test --offline --release --lib -- --nocapture %files %license LICENSE-MIT %{_docdir}/%{name}/rust-package-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.0.0-1 - Check the strict Android image and annotated boot capability in synthetic buffers.