Revert "minify spec.json in buildcache (#36138)" (#36156)

This reverts commit 1a8eefe09b.
This commit is contained in:
Harmen Stoppels 2023-03-16 10:30:52 +01:00 committed by GitHub
parent c29168eff1
commit 50cc1d12f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1343,7 +1343,7 @@ def _build_tarball_in_stage_dir(
spec_dict["buildinfo"] = buildinfo spec_dict["buildinfo"] = buildinfo
with open(specfile_path, "w") as outfile: with open(specfile_path, "w") as outfile:
outfile.write(json.dumps(spec_dict)) outfile.write(sjson.dump(spec_dict))
# sign the tarball and spec file with gpg # sign the tarball and spec file with gpg
if not unsigned: if not unsigned: