From 50660fb8dba1803c85ccbcdd64bff6666988c3f2a34bba12f177b08cb2598510 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Tue, 1 Nov 2016 15:34:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=14 --- gammaray.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gammaray.spec b/gammaray.spec index e34d7fb..9bd2a4d 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -43,8 +43,6 @@ BuildRequires: vtk-devel BuildRequires: vtk-java BuildRequires: vtk-qt BuildRequires: vtk-tcl -BuildRequires: wayland-devel -BuildRequires: cmake(Qt53DExtras) >= 5.2.0 BuildRequires: cmake(Qt53DInput) >= 5.2.0 BuildRequires: cmake(Qt53DLogic) >= 5.2.0 BuildRequires: cmake(Qt53DRender) >= 5.2.0 @@ -62,9 +60,13 @@ BuildRequires: cmake(Qt5Script) >= 5.2.0 BuildRequires: cmake(Qt5ScriptTools) >= 5.2.0 BuildRequires: cmake(Qt5Svg) >= 5.2.0 BuildRequires: cmake(Qt5Test) >= 5.2.0 -BuildRequires: cmake(Qt5WaylandCompositor) >= 5.2.0 BuildRequires: cmake(Qt5WebKitWidgets) >= 5.2.0 BuildRequires: cmake(Qt5Widgets) >= 5.2.0 +%if 0%{?suse_version} >= 1330 +BuildRequires: wayland-devel +BuildRequires: cmake(Qt53DExtras) >= 5.2.0 +BuildRequires: cmake(Qt5WaylandCompositor) >= 5.2.0 +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description