summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/grass/package.py3
1 files changed, 2 insertions, 1 deletions
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"))