From 077e1eceeee225b86b1a2513c3b8e3f7eac1a94f715723c7caa42a99ad3ea6c9 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Nov 2018 11:45:08 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=39 --- gammaray.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gammaray.spec b/gammaray.spec index 1836b93..cd8fb3c 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -70,9 +70,11 @@ BuildRequires: cmake(Qt5Script) >= 5.3.0 BuildRequires: cmake(Qt5ScriptTools) >= 5.3.0 BuildRequires: cmake(Qt5Svg) >= 5.3.0 BuildRequires: cmake(Qt5Test) >= 5.3.0 -BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 BuildRequires: cmake(Qt5WebEngineWidgets) >= 5.3.0 BuildRequires: cmake(Qt5Widgets) >= 5.3.0 +%if 0%{?suse_version} > 1315 +BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 +%endif %if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 BuildRequires: glslang-devel %endif