%global debug_package %{nil} Name: uke-control-touch-selector-check Version: 1.0.0 Release: 1%{?dist} Summary: ARM64 receipt for the Uke touchscreen dispatcher License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros rust cargo crate(libc/default) gcc-c++ binutils coreutils %description Checks the exact C++ reference and Rust touchscreen mode and executable admission on synthetic device trees. The daemon path is never invoked. %prep %autosetup sha256sum --check --strict --quiet rust-package-sources.sha256 %cargo_prep %build cargo build --offline --release --bin uke-touchscreen %install install -D -m644 rust-package-sources.sha256 %{buildroot}%{_docdir}/%{name}/rust-package-sources.sha256 %check g++ -std=c++20 -O2 -UNDEBUG -Wall -Wextra -Werror \ reference/tests/touch-launcher.cpp -o touch-launcher-reference ./touch-launcher-reference cargo test --offline --release --bin uke-touchscreen -- --nocapture readelf -h target/release/uke-touchscreen | grep -E 'Machine:.*AArch64' readelf -d target/release/uke-touchscreen > touch-selector-rust-linkage.txt if grep -F libstdc++ touch-selector-rust-linkage.txt; then exit 1; fi if target/release/uke-touchscreen invalid; then exit 1; else test "$?" = 1; fi printf 'Rust touchscreen selector linkage and command refusal passed\n' %files %license LICENSE-MIT %{_docdir}/%{name}/rust-package-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.0.0-1 - Check reviewed native and legacy dispatch and trusted client admission.