Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9059 from daniviga/grass76-rpm
[RPM] GRASS 7.6 support for F30+
  • Loading branch information
m-kuhn committed Feb 1, 2019
2 parents 3103b00 + 3425b7c commit 495568a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rpm/qgis.spec.template
Expand Up @@ -12,7 +12,11 @@
# py files located under /usr/share/qgis/python/plugins
%global __python %{__python3}

%if 0%{?fedora} >= 30
%define grass grass76
%else
%define grass grass74
%endif

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

%find_lang %{name} --with-qt

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

%postun -n python3-qgis -p /sbin/ldconfig
# END TODO #

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

0 comments on commit 495568a

Please sign in to comment.