From a2da4bff2acec2376f61948430bf1851aba034ab Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Thu, 14 Nov 2024 17:26:00 +0100 Subject: [PATCH] Use the modulemd v2 format. RHEL 8 does not seem to work well with the newer modulemd-packager v3 format used in RHEL 9. Using modulemd-packager v3 here results in static_context: true being expanded in the resulting modulemd which is not the desired state. File sourced from "stream-nodejs-20-rhel-8.10.0" and edited to fit the new stream. Whitespace indentation converted from 4 spaces to 2 spaces to better fit newer modulemds such as the one in "stream-nodejs-22-rhel-9.6.0". Resolves: RHEL-35991 --- nodejs.yaml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/nodejs.yaml b/nodejs.yaml index ddecc73..9900066 100644 --- a/nodejs.yaml +++ b/nodejs.yaml @@ -1,6 +1,6 @@ --- -document: modulemd-packager -version: 3 +document: modulemd +version: 2 data: name: nodejs stream: 22 @@ -12,17 +12,19 @@ data: makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. license: - - MIT - configurations: - - context: rhel8 - platform: el8 - buildrequires: - python38: [ '3.8' ] - buildopts: - rpms: - macros: | - %_with_bundled 1 - %_with_python3_fixup 1 + module: + - MIT + dependencies: + - buildrequires: + platform: [el8] + python38: ["3.8"] + requires: + platform: [el8] + buildopts: + rpms: + macros: | + %_with_bundled 1 + %_with_python3_fixup 1 references: community: http://nodejs.org documentation: http://nodejs.org/en/docs