Skip to content
Permalink
Browse files

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 495568ae5f269129c38e41d02546155127470527
Showing with 7 additions and 0 deletions.
  1. +7 −0 rpm/qgis.spec.template
@@ -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
@@ -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 || :
@@ -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

0 comments on commit 495568a

Please sign in to comment.
You can’t perform that action at this time.