From ec060f3d9c79082580f1d582d67b1703b3af4815 Mon Sep 17 00:00:00 2001 From: iarspider Date: Wed, 11 Dec 2019 00:34:35 +0100 Subject: Fix libgeotiff dependency of gdal (#14089) * Fix libgeotiff dependency of gdal * Update package.py * Fix typo * Update package.py --- var/spack/repos/builtin/packages/gdal/package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py index 87da1fbf5c..2c80b74be1 100644 --- a/var/spack/repos/builtin/packages/gdal/package.py +++ b/var/spack/repos/builtin/packages/gdal/package.py @@ -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') -- cgit v1.2.3-70-g09d2