From 0cac448c322c33046a9a5d5893c68aaddc32b5a92f956244e49439e9b7735d17 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 16 Sep 2019 17:47:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=267 --- qgis.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qgis.spec b/qgis.spec index abe0334..9b0c4bd 100644 --- a/qgis.spec +++ b/qgis.spec @@ -16,6 +16,7 @@ # %bcond_without grass +%bcond_with otb Name: qgis Version: 3.8.2 @@ -55,7 +56,9 @@ BuildRequires: libqscintilla_qt5-devel BuildRequires: libspatialindex-devel BuildRequires: ocl-icd-devel BuildRequires: opencl-cpp-headers -#BuildRequires: otb-devel +%if %{with grass} +BuildRequires: otb-devel +%endif BuildRequires: pkgconfig BuildRequires: poppler-tools BuildRequires: python-qscintilla-qt5-sip