From f9aa7c611cfa084a5237381389c9b169f61b094a Mon Sep 17 00:00:00 2001 From: Timothy Brown Date: Wed, 18 May 2022 10:34:22 -0600 Subject: [WGRIB2] Pinning Jasper to v2. (#30726) If we use v3 of Jasper, WGRIB2 fails to build due to not finding `jpc_encode` and `jpc_decode`. --- var/spack/repos/builtin/packages/wgrib2/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/wgrib2/package.py b/var/spack/repos/builtin/packages/wgrib2/package.py index 2e634c3cc1..127db325fa 100644 --- a/var/spack/repos/builtin/packages/wgrib2/package.py +++ b/var/spack/repos/builtin/packages/wgrib2/package.py @@ -18,7 +18,7 @@ class Wgrib2(CMakePackage): version('2.0.8-cmake-v6', sha256='745cd008b4ce0245ea44247733e57e2b9ec6c5205d171d457e18d0ff8f87172d') depends_on('ip2') - depends_on('jasper') + depends_on('jasper@:2.0.32') depends_on('libpng') depends_on('netcdf-c') depends_on('netcdf-fortran') -- cgit v1.2.3-70-g09d2