diff --git a/qgis.changes b/qgis.changes index 1152f18..66332b9 100644 --- a/qgis.changes +++ b/qgis.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 12 13:47:26 UTC 2020 - Guillaume GARDET + +- Use gdal 3 where possible because of bugs with gdal 2 + https://github.com/qgis/QGIS/issues/34933 + ------------------------------------------------------------------- Mon Mar 9 13:06:49 UTC 2020 - Guillaume GARDET diff --git a/qgis.spec b/qgis.spec index 4b23151..933aaa7 100644 --- a/qgis.spec +++ b/qgis.spec @@ -102,7 +102,12 @@ BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5XmlPatterns) BuildRequires: pkgconfig(expat) >= 1.95 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200 +# Use gdal 3 where possible because of bugs with gdal 2 - https://github.com/qgis/QGIS/issues/34933 +BuildRequires: pkgconfig(gdal) >= 3 +%else BuildRequires: pkgconfig(gdal) >= 2.1 +%endif BuildRequires: pkgconfig(gsl) >= 1.8 BuildRequires: pkgconfig(libpq) > 9.4 BuildRequires: pkgconfig(libzip)