From a08d86c2012ea4f046aef7bea8331f4f1cb9db2d Mon Sep 17 00:00:00 2001 From: Alex Richert <82525672+AlexanderRichert-NOAA@users.noreply.github.com> Date: Wed, 1 Mar 2023 04:59:45 -0800 Subject: [PATCH] grib-util: fix dependency constraints (#35668) --- var/spack/repos/builtin/packages/grib-util/package.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/grib-util/package.py b/var/spack/repos/builtin/packages/grib-util/package.py index 3176a41c32..ee4371b1b8 100644 --- a/var/spack/repos/builtin/packages/grib-util/package.py +++ b/var/spack/repos/builtin/packages/grib-util/package.py @@ -24,10 +24,11 @@ class GribUtil(CMakePackage): depends_on("jasper") depends_on("libpng") depends_on("zlib") - depends_on("w3nco") + depends_on("w3emc", when="@1.2.4:") + depends_on("w3nco", when="@:1.2.3") depends_on("g2") depends_on("bacio") - depends_on("ip") + depends_on("ip@:3.3.3") depends_on("sp") def cmake_args(self):