Fix self-check for hdf5@1.10.0-patch1
This commit is contained in:
parent
86893e3dc4
commit
3f4bf04dde
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ def check_install(self, spec):
|
|||
"""
|
||||
expected = """\
|
||||
HDF5 version {version} {version}
|
||||
""".format(version=str(spec.version))
|
||||
""".format(version=str(spec.version.up_to(3)))
|
||||
with open("check.c", 'w') as f:
|
||||
f.write(source)
|
||||
if '+mpi' in spec:
|
||||
|
|
Loading…
Reference in a new issue