SHA256
1
0
forked from pool/qgis

add patch for QT 5.13

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=251
This commit is contained in:
2019-07-03 11:56:46 +00:00
committed by Git OBS Bridge
parent 45f7a9400f
commit 94761c2950
3 changed files with 30 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ Source2: %{name}.rpmlintrc
Source3: qgis_sample_data.zip
# Headers in Qt5.11 were cleaned up to no longer include unneeded other headers.
Patch0: fix_grass_qt511.patch
# PATCH-FIX-UPSTREAM Missing include https://github.com/qgis/QGIS/issues/30316
Patch1: ef8f06330f57882f740cfe7f8f3659b54b1bb1fb.patch
BuildRequires: -post-build-checks
BuildRequires: FastCGI-devel
BuildRequires: bison >= 2.4
@@ -178,6 +180,7 @@ QGIS sample data with free raster, vector, gps files and a GRASS location from A
%prep
%setup -q
%patch0 -p1
%patch1 -p1
# Remove bad env and python version in grass plugin
sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,g' src/plugins/grass/scripts/*.py
sed -i 's,^#!%{_bindir}/env python3$,#!%{_bindir}/python3,g' src/plugins/grass/scripts/*.py