From 9bac68c50490364af17b0acdd507266b0d761272ca7b9a86eb0ea102dfda31cd Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Nov 2018 11:56:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=40 --- gammaray.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gammaray.spec b/gammaray.spec index cd8fb3c..ad1ceb6 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -46,8 +46,6 @@ BuildRequires: libdw-devel BuildRequires: libqt5-qt3d-devel >= 5.3.0 BuildRequires: libqt5-qtbase-doc >= 5.3.0 BuildRequires: libqt5-qtdeclarative-private-headers-devel >= 5.3.0 -# Needed to build the user manual -BuildRequires: libqt5-qtdoc-devel BuildRequires: libqt5-qttools >= 5.3.0 BuildRequires: update-desktop-files BuildRequires: vtk-devel @@ -73,7 +71,13 @@ BuildRequires: cmake(Qt5Test) >= 5.3.0 BuildRequires: cmake(Qt5WebEngineWidgets) >= 5.3.0 BuildRequires: cmake(Qt5Widgets) >= 5.3.0 %if 0%{?suse_version} > 1315 +# Needed to build the user manual +BuildRequires: libqt5-qtdoc-devel +# BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 +%else +# libqt5-qtdoc-devel doesn't exist in leap 42.3 +BuildRequires: libqt5-qtdoc %endif %if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 BuildRequires: glslang-devel