OOMMF: set preferred version (#35675)

With the last merge request for OOMMF [1], the intention was to have version
20b0_20220930 as the preferred version, and provide 20b0_20220930-vanilla as an
additional version for the unlikely case anybody needed that.

I made the (wrong) assumption that the `version` listed first in the `package.py` file
would be the preferred version. This merge request is to correct that by
explicitly tagging the preferred version with `preferred=True`.

[1] https://github.com/spack/spack/pull/33072/files
This commit is contained in:
Hans Fangohr 2023-03-01 13:53:59 +01:00 committed by GitHub
parent 2d2a1c82d4
commit 4e70532cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,9 @@ class Oommf(Package):
maintainers("fangohr")
version(
"20b0_20220930", sha256="764f1983d858fbad4bae34c720b217940ce56f745647ba94ec74de4b185f1328"
"20b0_20220930",
sha256="764f1983d858fbad4bae34c720b217940ce56f745647ba94ec74de4b185f1328",
preferred=True,
)
version(