%global debug_package %{nil} Name: uke-control-speaker-udev-integration-check Version: 1.0.0 Release: 1%{?dist} Summary: ARM64 synthetic test of the paired speaker udev rules License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: umockdev systemd-udev jq coreutils %description Checks both retained packaged rules under Fedora udev with synthetic events. %prep %autosetup sha256sum --check --strict rust-package-sources.sha256 %install install -Dm644 rust-package-sources.sha256 %{buildroot}%{_docdir}/%{name}/rust-package-sources.sha256 %check witness=$(mktemp -d) trap 'find "$witness" -depth -delete' EXIT for rule in 70-uke-speaker-provision.rules 99-uke-speaker-discovery.rules; do install -Dm644 "reference/$rule" "$witness/usr/lib/udev/rules.d/$rule" done install -Dm755 reference/uke-speaker-discovery "$witness/usr/libexec/uke-control/uke-speaker-discovery" bash -x reference/check.sh "$witness" %files %license LICENSE-MIT %{_docdir}/%{name}/rust-package-sources.sha256 %changelog * Mon Nov 30 2026 Uke Linux Maintainers - 1.0.0-1 - Verify both speaker rules together with the original discovery fixture.