From 088e4c6b647c56f26639e5f17584e647ab0f9ccb Mon Sep 17 00:00:00 2001 From: Joscha Legewie Date: Fri, 15 Sep 2023 22:36:46 -0400 Subject: grass: Update spec for gdal dependency (#38396) --- var/spack/repos/builtin/packages/grass/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/grass/package.py b/var/spack/repos/builtin/packages/grass/package.py index 5a229cea0f..8b4065d814 100644 --- a/var/spack/repos/builtin/packages/grass/package.py +++ b/var/spack/repos/builtin/packages/grass/package.py @@ -87,7 +87,8 @@ class Grass(AutotoolsPackage): depends_on("opencl", when="+opencl") depends_on("bzip2", when="+bzlib") depends_on("zstd", when="+zstd") - depends_on("gdal@:3.2", when="+gdal") + depends_on("gdal", when="+gdal") + conflicts("^gdal@3.3:", when="@7.8") depends_on("liblas", when="+liblas") depends_on("wxwidgets", when="+wxwidgets") depends_on("py-wxpython@2.8.10.1:", when="+wxwidgets", type=("build", "run")) -- cgit v1.2.3-60-g2f50