Fix fmt and spdlog versions for micromamba. (#38739)

The spdlog project precisely states/depends which fmt version should
be used for compatibility. Latest version 1.11.0 depends explictly on
fmt 9.1.0. Without fixed version micromamba build fails when using spack
install micromamba on e.g. Rockylinux 8.5.
This commit is contained in:
Stephan Grein 2023-07-12 20:24:26 +02:00 committed by GitHub
parent 4fa7dc03ae
commit 0ca11d7033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,8 +45,8 @@ class Micromamba(CMakePackage):
depends_on("yaml-cpp", type="link")
depends_on("libreproc+cxx+shared", type="link")
depends_on("tl-expected@2022-11-24", type="link")
depends_on("fmt", type="link")
depends_on("spdlog", type="link")
depends_on("fmt@9.1.0", type="link")
depends_on("spdlog@1.11.0", type="link")
# https://github.com/mamba-org/mamba/blob/micromamba-1.0.0/libmamba/include/mamba/core/validate.hpp#L13
depends_on("nlohmann-json", type="link")
@ -78,8 +78,8 @@ class Micromamba(CMakePackage):
depends_on("yaml-cpp", type="link")
depends_on("libreproc+cxx", type="link")
depends_on("tl-expected@2022-11-24", type="link")
depends_on("fmt", type="link")
depends_on("spdlog", type="link")
depends_on("fmt@9.1.0", type="link")
depends_on("spdlog@1.11.0", type="link")
depends_on("nlohmann-json", type="link")
depends_on("cpp-termcolor", type="link")
depends_on("cli11@2.2:", type="link")