Skip to content
Permalink
Browse files

Merge pull request #6854 from daniviga/rpm-f28

Make RPM package compatible with Fedora 28
  • Loading branch information
m-kuhn committed Apr 25, 2018
2 parents aae7a32 + 1af0f4c commit ae53f26807cd1ad764041a41b06887c4ff28069c
Showing with 7 additions and 1 deletion.
  1. +7 −1 rpm/qgis.spec.template
@@ -12,6 +12,12 @@
%define builddate %(date '+%a %b %d %Y')
%endif

%if 0%{?fedora} >= 28
%define grass grass74
%else
%define grass grass72
%endif

Name: qgis
Version: %{_version}
Release: %{_relver}%{?dist}
@@ -203,7 +209,7 @@ gzip ChangeLog
-D QGIS_CGIBIN_SUBDIR=%{_libexecdir}/%{name} \
-D WITH_BINDINGS:BOOL=TRUE \
-D WITH_GRASS7:BOOL=TRUE \
-D GRASS_PREFIX7=%{_libdir}/grass72 \
-D GRASS_PREFIX7=%{_libdir}/%{grass} \
-D WITH_CUSTOM_WIDGETS:BOOL=TRUE \
-D BINDINGS_GLOBAL_INSTALL:BOOL=TRUE \
-D ENABLE_TESTS:BOOL=FALSE \

0 comments on commit ae53f26

Please sign in to comment.
You can’t perform that action at this time.