Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make RPM package compatible with Fedora 28
which ships GRASS 7.4
  • Loading branch information
daniviga committed Apr 24, 2018
1 parent aae7a32 commit 1af0f4c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rpm/qgis.spec.template
Expand Up @@ -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}
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 1af0f4c

Please sign in to comment.