Skip to content

Commit

Permalink
[RPM] Fix a dependency on older Fedora releases
Browse files Browse the repository at this point in the history
  • Loading branch information
daniviga committed May 20, 2019
1 parent 81aa5f6 commit 8aa8c49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpm/qgis.spec.template
Expand Up @@ -176,7 +176,13 @@ Obsoletes: python2-%{name} < %{version}-%{release}
Summary: Python integration and plug-ins for QGIS
Requires: %{name}%{?_isa} = %{combinedversion}-%{release}
Requires: gdal-python3
# Starting from Fedora 30 python2-gdal package
# has been renamed to gdal-python-tools
%if 0%{?fedora} >= 30
Requires: gdal-python-tools
%else
Requires: python2-gdal
%endif
Requires: python3-future
Requires: python3-jinja2
Requires: python3-OWSLib
Expand Down

0 comments on commit 8aa8c49

Please sign in to comment.