From 21b72320a5b49e69dad6ba444583dacb0c2a5827 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 2 Apr 2021 11:51:59 +0200 Subject: [PATCH] Only enable power-profiles-daemon on F35+ and RHEL 9+ Fedora Workstation WG decided to leave the dep out of F34 in https://pagure.io/fedora-workstation/issue/191#comment-724769 --- gnome-control-center.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnome-control-center.spec b/gnome-control-center.spec index 4158d30..418d375 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -13,7 +13,7 @@ Name: gnome-control-center Version: 40.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Utilities to configure the GNOME desktop License: GPLv2+ and CC-BY-SA @@ -114,6 +114,10 @@ Recommends: rygel Recommends: switcheroo-control # For the keyboard panel Requires: /usr/bin/gkbd-keyboard-display +%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9 +# For the power panel +Recommends: power-profiles-daemon +%endif # Renamed in F28 Provides: control-center = 1:%{version}-%{release} @@ -204,6 +208,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center %dir %{_datadir}/gnome/wm-properties %changelog +* Fri Apr 02 2021 Kalev Lember - 40.0-9 +- Only enable power-profiles-daemon on F35+ and RHEL 9+ + * Wed Mar 31 2021 Pete Walter - 40.0-8 - Add back power-profiles-daemon once more