[RPM] Fix a dependency on older Fedora releases

This commit is contained in:
Daniele Viganò 2019-05-20 17:33:06 +02:00
parent 284f5d565c
commit f7722e3ff6
No known key found for this signature in database
GPG Key ID: DB49AFC03C40EE02

View File

@ -179,7 +179,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