Fix GRASS7 prefix
This commit is contained in:
parent
0a3b30fb8b
commit
5f79adb3dd
@ -181,7 +181,7 @@ gzip ChangeLog
|
||||
-D QGIS_CGIBIN_SUBDIR=%{_libexecdir}/%{name} \
|
||||
-D WITH_BINDINGS:BOOL=TRUE \
|
||||
-D WITH_GRASS7:BOOL=TRUE \
|
||||
-D GRASS_PREFIX=%{_libdir}/grass \
|
||||
-D GRASS_PREFIX7=%{_libdir}/grass \
|
||||
-D WITH_CUSTOM_WIDGETS:BOOL=TRUE \
|
||||
-D BINDINGS_GLOBAL_INSTALL:BOOL=TRUE \
|
||||
-D ENABLE_TESTS:BOOL=FALSE \
|
||||
@ -200,9 +200,7 @@ make install DESTDIR=%{buildroot}
|
||||
|
||||
# Install desktop file without connecting proprietary file types
|
||||
desktop-file-install \
|
||||
%if (0%{?rhel} && 0%{?rhel} < 7)
|
||||
--vendor="fedora" \
|
||||
%endif
|
||||
--remove-mime-type="application/x-raster-ecw" \
|
||||
--remove-mime-type="application/x-raster-mrsid" \
|
||||
--dir=%{buildroot}%{_datadir}/applications \
|
||||
|
Reference in New Issue
Block a user