From 685be24479d2b11749da165d9643e3e0f1e0666f Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Mon, 1 Jul 2019 08:32:49 -0700 Subject: [PATCH] Build with wayland on RHEL8 --- libkscreen-qt5.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libkscreen-qt5.spec b/libkscreen-qt5.spec index 5851504..ba6f1e8 100644 --- a/libkscreen-qt5.spec +++ b/libkscreen-qt5.spec @@ -22,7 +22,7 @@ Patch1: libkscreen-5.6.4-rhel-nowayland.patch BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: kf5-kwayland-devel >= 5.22 %endif BuildRequires: libX11-devel @@ -55,7 +55,7 @@ developing applications that use %{name}. %prep %setup -q -n %{base_name}-%{version} -%if 0%{?rhel} +%if 0%{?rhel} && 0%{?rhel} <= 7 %patch1 -p1 -b .nowayland %endif