From 44a20730217de8eb5eec2902d24fcc6d35f60017 Mon Sep 17 00:00:00 2001 From: Christophe Prud'homme Date: Sun, 3 Nov 2024 17:16:18 +0100 Subject: [PATCH] fix style and constraint mmg version --- var/spack/repos/builtin/packages/parmmg/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/parmmg/package.py b/var/spack/repos/builtin/packages/parmmg/package.py index 8c57dbbe0b558e..d13f682eb8c951 100644 --- a/var/spack/repos/builtin/packages/parmmg/package.py +++ b/var/spack/repos/builtin/packages/parmmg/package.py @@ -33,8 +33,8 @@ class Parmmg(CMakePackage): depends_on("c", type="build") # generated depends_on("cxx", type="build") # generated depends_on("fortran", type="build") # generated - - depends_on("mmg") + + depends_on("mmg", when="@:1.4.0") depends_on("mmg@5.8: +private", when="@1.5.0:") depends_on("metis") depends_on("vtk", when="+vtk")