summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/eccodes/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/eccodes/package.py b/var/spack/repos/builtin/packages/eccodes/package.py
index 4316133e8e..2b07635077 100644
--- a/var/spack/repos/builtin/packages/eccodes/package.py
+++ b/var/spack/repos/builtin/packages/eccodes/package.py
@@ -72,7 +72,7 @@ class Eccodes(CMakePackage):
patch('enable_only_jasper.patch', when='jp2k=jasper')
# CMAKE_INSTALL_RPATH must be a semicolon-separated list.
- patch('cmake_install_rpath.patch')
+ patch('cmake_install_rpath.patch', when='@:2.10')
@run_before('cmake')
def check_fortran(self):