Fix libgeotiff dependency of gdal (#14089)

* Fix libgeotiff dependency of gdal

* Update package.py

* Fix typo

* Update package.py
This commit is contained in:
iarspider 2019-12-11 00:34:35 +01:00 committed by Adam J. Stewart
parent 2c31776007
commit ec060f3d9c

View file

@ -94,9 +94,9 @@ class Gdal(AutotoolsPackage):
# Required dependencies
depends_on('libtiff@3.6.0:') # 3.9.0+ needed to pass testsuite
depends_on('libgeotiff@1.2.1:')
depends_on('libgeotiff@:1.4', when='@:2.4')
depends_on('libgeotiff@1.5:', when='@3:')
depends_on('libgeotiff@1.2.1:1.4', when='@:2.4.0')
depends_on('libgeotiff@1.2.1:1.5', when='@2.4.1:2.4.2')
depends_on('libgeotiff@1.5:', when='@3.0.0:')
depends_on('json-c')
depends_on('json-c@0.12.1', when='@:2.2')