%global debug_package %{nil} Name: uke-control-audio-reprobe-check Version: 1.0.0 Release: 1%{?dist} Summary: ARM64 test receipt for the Rust graphical audio reprobe helper License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros binutils bash gawk grep sed coreutils %description Validates the Rust audio reprobe policy alongside the signed-source shell reference. The resulting test receipt contains the input digests. %prep %autosetup %cargo_prep %build cargo build --offline --release %install sha256sum src/main.rs reference/{uke-control-audio-reprobe,check-audio-reprobe.sh} LICENSE > audio-reprobe-sources.sha256 install -D -m644 audio-reprobe-sources.sha256 %{buildroot}%{_docdir}/%{name}/audio-reprobe-sources.sha256 %check bash reference/check-audio-reprobe.sh reference/uke-control-audio-reprobe printf 'Signed-source audio reprobe fixture contract passed\n' cargo test --offline --release -- --nocapture readelf -h target/release/uke-control-audio-reprobe | grep -E 'Machine:.*AArch64' readelf -d target/release/uke-control-audio-reprobe > audio-reprobe-linkage.txt if grep -F 'libstdc++' audio-reprobe-linkage.txt; then exit 1; fi %files %license LICENSE %{_docdir}/%{name}/audio-reprobe-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.0.0-1 - Verify the graphical audio profile reprobe policy on ARM64.