diff options
Diffstat (limited to 'lib/spack/spack/schema/buildcache_spec.py')
-rw-r--r-- | lib/spack/spack/schema/buildcache_spec.py | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/spack/spack/schema/buildcache_spec.py b/lib/spack/spack/schema/buildcache_spec.py index eeeb6dc085..7c74c7f4eb 100644 --- a/lib/spack/spack/schema/buildcache_spec.py +++ b/lib/spack/spack/schema/buildcache_spec.py @@ -6,7 +6,7 @@ """Schema for a buildcache spec.yaml file .. literalinclude:: _spack_root/lib/spack/spack/schema/buildcache_spec.py - :lines: 14- + :lines: 13- """ import spack.schema.spec @@ -16,15 +16,8 @@ schema = { "type": "object", "additionalProperties": False, "properties": { - "buildinfo": { - "type": "object", - "additionalProperties": False, - "required": ["relative_prefix"], - "properties": { - "relative_prefix": {"type": "string"}, - "relative_rpaths": {"type": "boolean"}, - }, - }, + # `buildinfo` is no longer needed as of Spack 0.21 + "buildinfo": {"type": "object"}, "spec": { "type": "object", "additionalProperties": True, |