Name: uke-boot-integrity-check Version: 1.0 Release: 1%{?dist} Summary: Native verification of Uke boot integrity update policy License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.xz BuildRequires: gcc-c++ rpm pkgconfig(fdisk) pkgconfig(zlib) pkgconfig(openssl) pkgconfig(libsystemd) BuildRequires: bash coreutils grep %description Source verification of the Uke boot-bundle update and fallback policies. %prep %autosetup %build %set_build_flags mkdir -p build g++ $CXXFLAGS -std=c++20 -Wall -Wextra -Werror boot-image.cpp -o build/boot-image $LDFLAGS g++ $CXXFLAGS -std=c++20 -Wall -Wextra -Werror tests/kernel-update.cpp -o build/kernel-update-test $LDFLAGS $(pkg-config --cflags --libs fdisk zlib openssl libsystemd) %install install -Dm644 /dev/null %{buildroot}%{_datadir}/%{name}/passed %check build/kernel-update-test bash tests/userdata-update.sh %files %{_datadir}/%{name}/passed