minify spec.json in buildcache (#36138)
saves about 50% of data, which is significant for hundreds of thousands of spec.json files in our buildcaches.
This commit is contained in:
parent
85d51bfd9a
commit
1a8eefe09b
1 changed files with 1 additions and 1 deletions
|
@ -1343,7 +1343,7 @@ def _build_tarball_in_stage_dir(
|
|||
spec_dict["buildinfo"] = buildinfo
|
||||
|
||||
with open(specfile_path, "w") as outfile:
|
||||
outfile.write(sjson.dump(spec_dict))
|
||||
outfile.write(json.dumps(spec_dict))
|
||||
|
||||
# sign the tarball and spec file with gpg
|
||||
if not unsigned:
|
||||
|
|
Loading…
Reference in a new issue