From ff6d6d839f09b919cce6c8a453d15e6780c44557 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 27 Feb 2020 18:27:51 -0800 Subject: [PATCH] Fix %ifs for rhel8 --- plasma-workspace.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plasma-workspace.spec b/plasma-workspace.spec index f24b403..32d8e38 100644 --- a/plasma-workspace.spec +++ b/plasma-workspace.spec @@ -140,12 +140,14 @@ BuildRequires: desktop-file-utils # Optional BuildRequires: kf5-kactivities-devel +%if 0%{?fedora} BuildRequires: cmake(AppStreamQt) >= 0.10.4 +%endif # when kded_desktopnotifier.so moved here Conflicts: kio-extras < 5.4.0 -%if 0%{?fedora} > 21 +%if 0%{?fedora} || 0%{?rhel} > 7 Recommends: %{name}-geolocation = %{version}-%{release} Suggests: imsettings-qt %else @@ -174,7 +176,7 @@ Requires: kf5-kquickcharts Requires: ksysguardd >= %{majmin_ver} # The new volume control for PulseAudio -%if 0%{?fedora} > 22 +%if 0%{?fedora} || 0%{?rhel} > 7 Requires: plasma-pa %endif