From 39b0eba44af5f8f7f14b916e0d2c9ce867920dcd Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 10 Feb 2021 13:13:06 +0100 Subject: [PATCH] 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. --- testmodule.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/testmodule.yaml b/testmodule.yaml index a17f939..8cda6b6 100644 --- a/testmodule.yaml +++ b/testmodule.yaml @@ -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