Skip to content

Commit 495568a

Browse files
authored
Merge pull request #9059 from daniviga/grass76-rpm
[RPM] GRASS 7.6 support for F30+
2 parents 3103b00 + 3425b7c commit 495568a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rpm/qgis.spec.template

+7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
# py files located under /usr/share/qgis/python/plugins
1313
%global __python %{__python3}
1414

15+
%if 0%{?fedora} >= 30
16+
%define grass grass76
17+
%else
1518
%define grass grass74
19+
%endif
1620

1721
%if %{_timestamp} > 0
1822
# Epoch is set only when building packages from master
@@ -250,6 +254,8 @@ rm -f %{buildroot}%{_datadir}/%{name}/doc/INSTALL*
250254

251255
%find_lang %{name} --with-qt
252256

257+
# TODO: Remove after F28 EoL
258+
# Ref: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
253259
%post
254260
/sbin/ldconfig
255261
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -275,6 +281,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
275281
%post -n python3-qgis -p /sbin/ldconfig
276282

277283
%postun -n python3-qgis -p /sbin/ldconfig
284+
# END TODO #
278285

279286
%files -f %{name}.lang
280287
%doc BUGS NEWS Exception_to_GPL_for_Qt.txt ChangeLog.gz

0 commit comments

Comments
 (0)