Update the example yaml file

Update to v2, sync with what is in master branch, fix yaml linter
warnings, reference "rawhide" branch in components.

Master branch is probably going to be read-only in modules/ namespace,
and we rely on this example module yaml in Copr build system testsuite.
So I'm trying to fix it so the module builds again, newly in rawhide
branch.
This commit is contained in:
Pavel Raiskup 2021-02-10 13:13:06 +01:00
commit 39b0eba44a

View file

@ -1,38 +1,39 @@
---
document: modulemd
version: 1
version: 2
data:
summary: A test module in all its beautiful beauty
description: >-
This module demonstrates how to write simple modulemd files And
can be used for testing the build and release pipeline.
license:
module: [ MIT ]
module: [MIT]
dependencies:
buildrequires:
platform: f29
requires:
platform: f29
- buildrequires:
platform: [f33]
requires:
platform: [f33]
references:
community: https://docs.pagure.org/modularity/
documentation: https://fedoraproject.org/wiki/Fedora_Packaging_Guidelines_for_Modules
tracker: https://pagure.io/modularity/issues
profiles:
default:
rpms:
- tangerine
- tangerine
api:
rpms:
- perl-Tangerine
- tangerine
- perl-Tangerine
- tangerine
components:
rpms:
perl-List-Compare:
rationale: A dependency of tangerine.
ref: master
ref: rawhide
perl-Tangerine:
rationale: Provides API for this module and is a dependency of tangerine.
ref: 7e96446
tangerine:
rationale: Provides API for this module.
buildorder: 10
ref: master
ref: rawhide