Skip to content

Commit ae53f26

Browse files
authoredApr 25, 2018
Merge pull request #6854 from daniviga/rpm-f28
Make RPM package compatible with Fedora 28
2 parents aae7a32 + 1af0f4c commit ae53f26

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎rpm/qgis.spec.template

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
%define builddate %(date '+%a %b %d %Y')
1313
%endif
1414

15+
%if 0%{?fedora} >= 28
16+
%define grass grass74
17+
%else
18+
%define grass grass72
19+
%endif
20+
1521
Name: qgis
1622
Version: %{_version}
1723
Release: %{_relver}%{?dist}
@@ -203,7 +209,7 @@ gzip ChangeLog
203209
-D QGIS_CGIBIN_SUBDIR=%{_libexecdir}/%{name} \
204210
-D WITH_BINDINGS:BOOL=TRUE \
205211
-D WITH_GRASS7:BOOL=TRUE \
206-
-D GRASS_PREFIX7=%{_libdir}/grass72 \
212+
-D GRASS_PREFIX7=%{_libdir}/%{grass} \
207213
-D WITH_CUSTOM_WIDGETS:BOOL=TRUE \
208214
-D BINDINGS_GLOBAL_INSTALL:BOOL=TRUE \
209215
-D ENABLE_TESTS:BOOL=FALSE \

0 commit comments

Comments
 (0)
Please sign in to comment.