Skip to content

Commit

Permalink
Merge pull request #6854 from daniviga/rpm-f28
Browse files Browse the repository at this point in the history
Make RPM package compatible with Fedora 28
  • Loading branch information
m-kuhn committed Apr 25, 2018
2 parents aae7a32 + 1af0f4c commit ae53f26
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 ae53f26

Please sign in to comment.