From e49f10a28e63520359e043c78ce53e75f3c3387a Mon Sep 17 00:00:00 2001 From: "H. Joe Lee" Date: Wed, 10 May 2023 10:33:27 -0500 Subject: fix(hdf5): h5pfc link failure (#37468) * fix(hdf5): h5pfc link failure develop branch doesn't need linking any more. See: https://github.com/HDFGroup/hdf5/commit/acb186f6e5f0ac3e5bfb9501e3381c1968489a59 * [@spackbot] updating style on behalf of hyoklee --------- Co-authored-by: hyoklee --- var/spack/repos/builtin/packages/hdf5/package.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index 66c1b38d64..36b5b87aa6 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -637,9 +637,7 @@ class Hdf5(CMakePackage): # 1.10.6 and 1.12.0. The current develop versions do not produce 'h5pfc' # at all. Here, we make sure that 'h5pfc' is available when Fortran and # MPI support are enabled (only for versions that generate 'h5fc'). - if self.spec.satisfies( - "@1.8.22:1.8," "1.10.6:1.10," "1.12.0:1.12," "develop:" "+fortran+mpi" - ): + if self.spec.satisfies("@1.8.22:1.8," "1.10.6:1.10," "1.12.0:1.12" "+fortran+mpi"): with working_dir(self.prefix.bin): # No try/except here, fix the condition above instead: symlink("h5fc", "h5pfc") -- cgit v1.2.3-60-g2f50