Name: uke-power-profile-hold-source-check Version: 0.30 Release: 1%{?dist} Summary: Native regression checks for saved Power Profiles Daemon preferences License: GPL-3.0-or-later URL: https://gitlab.freedesktop.org/upower/power-profiles-daemon Source0: power-profiles-daemon-0.30.tar.bz2 Patch0: 0001-restore-saved-profile-after-a-temporary-hold.patch Patch1: 0002-test-restoring-the-saved-startup-profile.patch ExclusiveArch: aarch64 BuildRequires: bash coreutils grep sed meson gcc patch dbus-daemon BuildRequires: pkgconfig(gio-2.0) pkgconfig(gudev-1.0) pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(systemd) pkgconfig(upower-glib) BuildRequires: umockdev python3dist(python-dbusmock) python3dist(pygobject) %global debug_package %{nil} %global __os_install_post %{nil} %description Test receipts for a candidate correction to the saved-profile hold behavior. The build uses the original Fedora source with an isolated upstream D-Bus and mock platform test. The RPM contains only text evidence and the license. %prep echo '528ee5b8ca0a27d8d66128ebf850e23be9571dc130cf2a82dd2463dac7d3a92f %{SOURCE0}' | sha256sum --check --strict %setup -q -n power-profiles-daemon-0.30 echo '6b143bb5101dc405b42eb1fa253bcc946fcf8de60fdefa23859f653f1f15e43a src/power-profiles-daemon.c' | sha256sum --check --strict %patch 1 -p1 %build test "$(uname -m)" = aarch64 export LC_ALL=C meson setup out -Dtests=true -Dmanpage=disabled -Dbashcomp=disabled -Dpylint=disabled meson compile -C out -j 2 if meson test -C out --no-rebuild --print-errorlogs Tests.test_hold_release_saved_profile > baseline.log 2>&1; then cat baseline.log exit 1 fi cat baseline.log grep -F "'balanced' != 'power-saver'" baseline.log grep -F 'A released hold must restore the saved startup profile' baseline.log patch -p1 --batch --fuzz=0 < %{PATCH0} meson compile -C out -j 2 meson test -C out --no-rebuild --print-errorlogs --num-processes 1 \ Tests.test_hold_release_saved_profile LegacyDBusNameTests.test_hold_release_saved_profile \ Tests.test_hold_release_profile Tests.test_hold_priority Tests.test_save_profile \ Tests.test_vanishing_hold LegacyDBusNameTests.test_vanishing_hold { echo 'Original Fedora source: the regression test failed at profile restoration as expected.' echo 'Patched ARM64 daemon: all seven D-Bus regression and compatibility tests passed.' sha256sum %{SOURCE0} %{PATCH0} %{PATCH1} | sed 's@ .*/@ @' } > qualification.txt cat qualification.txt %install install -Dm644 qualification.txt %{buildroot}%{_datadir}/%{name}/qualification.txt %files %license COPYING %{_datadir}/%{name}/ %changelog * Wed Nov 18 2026 Uke contributors - 0.30-1 - Exercise startup from a saved profile before and after the hold correction.