%global debug_package %{nil} Name: uke-control-offline-charge-policy-check Version: 1.0.0 Release: 1%{?dist} Summary: ARM64 receipt for the Uke offline charge boot and screen License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros cargo rust crate(libc/default) gcc-c++ coreutils %description Tests the shared generator admission parser and exact offline charging screen pixels against published source. The checks use synthetic state and no display or power-domain I/O. %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 g++ -std=c++20 -O2 -UNDEBUG -Wall -Wextra -Werror reference/tests/offline-charge.cpp -o offline-screen-reference ./offline-screen-reference "$PWD/offline-screen-reference.ppm" UKE_OFFLINE_SCREEN_REFERENCE="$PWD/offline-screen-reference.ppm" cargo test --offline --release --lib -- --nocapture cargo test --offline --release --bin offline-target-generator -- --nocapture %files %license LICENSE-MIT %{_docdir}/%{name}/rust-package-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.0.0-1 - Check shared charger boot parsing and exact screen output.