%global debug_package %{nil} Name: uke-control-cdsp-profiles-check Version: 1.3.0 Release: 1%{?dist} Summary: ARM64 synthetic witness for the managed kernel firmware selection License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros cargo rust gcc-c++ libasan libubsan coreutils crate(serde_json/default) pkgconfig(libcrypto) json-devel binutils kernel-headers BuildRequires: uke-firmware(factory-pogo-mcu-v1) >= 1 BuildRequires: crate(libc/default) %description Checks managed firmware profile release ordering and source binding in Rust and runs the currently published helper contracts against synthetic host fixtures. %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 ulimit -c 0 bash reference/uke-cdsp-pogo-firmware/tests/check.sh cargo test --offline --release --lib -- --nocapture cargo build --offline --release --bin uke-cdsp-pogo-firmware readelf -h target/release/uke-cdsp-pogo-firmware | grep -E "Machine:.*AArch64" readelf -d target/release/uke-cdsp-pogo-firmware > firmware-linkage if grep -Fq libstdc++ firmware-linkage; then exit 1; fi cc -std=c11 -Wall -Wextra -Werror -fsyntax-only tests/loop-abi.c g++ -std=c++20 -O2 -UNDEBUG -Wall -Wextra -Werror -Wno-misleading-indentation reference/uke-cdsp-pogo-firmware/src/import.cpp -lcrypto -o cdsp-command-reference bash tests/command-parity.sh ./cdsp-command-reference ./target/release/uke-cdsp-pogo-firmware %files %license LICENSE-MIT %{_docdir}/%{name}/rust-package-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.3.0-1 - Compare the full signed-source firmware CLI and loop ABI against Rust.