%global debug_package %{nil} Name: uke-control-speaker-cache-check Version: 1.0.0 Release: 1%{?dist} Summary: Synthetic ARM64 witness for the generic speaker cache License: GPL-2.0-only ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros cargo rust coreutils openssl-devel alsa-lib-devel binutils crate(libc/default) %description Checks digest refusal, atomic publication, idempotency and permission rules with synthetic data, using the protected runtime source from Uke Control. %prep %autosetup sha256sum -c --strict rust-package-sources.sha256 %cargo_prep %install install -Dm644 rust-package-sources.sha256 %{buildroot}%{_docdir}/%{name}/rust-package-sources.sha256 %check test "$(id -u)" -ne 0 test ! -e /etc/senemos/kernel-update.conf cargo test --offline --release --lib -- --nocapture cargo build --offline --release --bin uke-speaker-prepare-data original=0 native=0 bash reference/cache.sh > original.output 2>&1 || original=$? target/release/uke-speaker-prepare-data > native.output 2>&1 || native=$? test "$original" -eq 1 test "$native" -eq "$original" cmp original.output native.output readelf -h target/release/uke-speaker-prepare-data | grep -F AArch64 readelf -d target/release/uke-speaker-prepare-data > native.dynamic ! grep -F libstdc++ native.dynamic printf 'Generic speaker data helper matches signed-source non-root refusal on ARM64\n' %files %license LICENSE %{_docdir}/%{name}/rust-package-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.0.0-1 - Qualify the verified generic speaker data cache publisher.