%global debug_package %{nil} Name: uke-control-install-profile-policy-check Version: 1.0.1 Release: 1%{?dist} Summary: ARM64 receipt for Uke installation profile admission License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros cargo rust crate(libc/default) gcc gcc-c++ coreutils kernel-headers %description Checks the exact C++ root policy and Rust root mount, partition and persistent-profile decoding with synthetic inputs and no device access. %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 -Ireference/src \ reference/tests/installation-policy.cpp -o installation-policy-reference ./installation-policy-reference cargo test --offline --release --lib install_profile:: -- --nocapture %{__cc} %{build_cflags} -std=gnu17 -Wall -Wextra -Werror \ tests/install-profile-btrfs-abi.c %{build_ldflags} -o btrfs-abi-reference ./btrfs-abi-reference %files %license LICENSE-MIT %{_docdir}/%{name}/rust-package-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.0.1-1 - Check physical mount and partition profile admission.