cpupower-gui 1.0.0-2 (aarch64;znver1;x86_64) 2022-16362
0

Status rejected
Submitter itchka [@T] compuserve.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/270578
Packages
cpupower-gui-1.0.0-2.aarch64.binary
cpupower-gui-1.0.0-2.aarch64.source
cpupower-gui-1.0.0-2.znver1.source
cpupower-gui-1.0.0-2.znver1.binary
cpupower-gui-1.0.0-2.x86_64.binary
cpupower-gui-1.0.0-2.x86_64.source
Build Date 2022-12-21 17:11:13 +0000 UTC
Last Updated 2022-12-27 03:00:04.144671893 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 43521b9716885159de7c168f7c6553c795948426

commit 43521b9716885159de7c168f7c6553c795948426
Author:     iso buider <root@localhost>
AuthorDate: Wed Dec 21 16:56:33 2022 +0000
Commit:     iso buider <root@localhost>
CommitDate: Wed Dec 21 16:56:33 2022 +0000

    Fix broken build with Arch solution
    Add runtime requires libhardy-gir1
---
 cpupower-gui.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/cpupower-gui.spec b/cpupower-gui.spec
index f8a80a0..73bf6f6 100644
--- a/cpupower-gui.spec
+++ b/cpupower-gui.spec
@@ -26,12 +26,13 @@ Requires:   python3dist(pygobject)
 Requires:   python3dist(pyxdg)
 Requires:   hicolor-icon-theme
 Requires:   polkit
-
+Requires:   lib64handy-gir1
 %description
 This program is designed to allow you to change the frequency limits of your cpu and its governor. The application is similar in functionality to cpupower but use GTK GUI and CLI.
 
 %prep
 %autosetup -p1
+sed -i '15d' %{_builddir}/%{name}-%{version}/data/meson.build
 
 %build
 %meson  -Dsystemddir=/lib/systemd --buildtype=plain 
@@ -61,3 +62,9 @@ rm -rf  %{buildroot}/var/lib/polkit-1/localauthority/10-vendor.d/org.rnd2.cpupow
 %{_userunitdir}/system/cpupower-gui-helper.service
 %{_userunitdir}/system/cpupower-gui.service
 %{_prefix}/lib/systemd/user/cpupower-gui-user.service
+
+%post
+systemctl enable cpupower-gui-helper 
+
+%preun 
+systemctl disable cpupower-gui-helper cpupower-gui
\ No newline at end of file
Not Available

benbullard79 [@T] cox.netNo Comment.458d 06hrs