Skip to content

Metadata

Georg Pfuetzenreuter edited this page May 17, 2023 · 2 revisions

Metadata directory structure

All formulas should contain a metadata subdirectory. This subdirectory should contain at least a metadata.yml file, but can optionally contain a form.yml file for SUSE Manager.

metadata.yml

Sample

---
summary:
  Salt states for managing examples
description:
  Salt states for managing lorem ipsums, examples and foobars.
license:
  Apache-2.0

Fields

summary

This is mandatory for filling the Summary field in the spec file.

description

This is optional for filling the %description section in the spec file. If not specified, the summary will be used.

license

This is optional for setting a custom license. If not specified, GPLv3, the license of the main package, will be assumed. If specified, the License field of the subpackage will be populated. If this is used, the formula subdirectory should additionally contain a COPYING, LICENCE or LICENSE file containing the matching license text.

Clone this wiki locally