From b06403bdb2b316de075684a4426cda8aec5c4f5c Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Thu, 26 Oct 2023 19:11:09 -0500 Subject: [PATCH] Check for .spec.json.sig on the buildcache mirror --- lib/spack/spack/binary_distribution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py index 884d38e2b5103f..9a3937629e4500 100644 --- a/lib/spack/spack/binary_distribution.py +++ b/lib/spack/spack/binary_distribution.py @@ -2286,7 +2286,7 @@ def needs_rebuild(spec, mirror_url): # format of the name, in order to determine if the package # needs to be rebuilt. cache_prefix = build_cache_prefix(mirror_url) - specfile_name = tarball_name(spec, ".spec.json") + specfile_name = tarball_name(spec, ".spec.json.sig") specfile_path = os.path.join(cache_prefix, specfile_name) # Only check for the presence of the json version of the spec. If the