Update modulemd to v3.

This commit is contained in:
Zuzana Svetlikova 2022-06-20 12:48:31 +02:00
parent 9b02afa008
commit f00af21fca
2 changed files with 61 additions and 64 deletions

View File

@ -1,6 +1,6 @@
--- !Policy --- !Policy
product_versions: product_versions:
- rhel-8 - rhel-9
decision_context: osci_compose_gate_modules decision_context: osci_compose_gate_modules
subject_type: redhat-module subject_type: redhat-module
rules: rules:

View File

@ -1,66 +1,63 @@
--- ---
document: modulemd document: modulemd-packager
version: 2 version: 3
data: data:
name: nodejs name: nodejs
stream: 18 stream: 18
summary: Javascript runtime summary: Javascript runtime
description: >- description: >-
Node.js is a platform built on Chrome's JavaScript runtime Node.js is a platform built on Chrome's JavaScript runtime
for easily building fast, scalable network applications. for easily building fast, scalable network applications.
Node.js uses an event-driven, non-blocking I/O model that Node.js uses an event-driven, non-blocking I/O model that
makes it lightweight and efficient, perfect for data-intensive makes it lightweight and efficient, perfect for data-intensive
real-time applications that run across distributed devices. real-time applications that run across distributed devices.
license: license:
module: - MIT
- MIT configurations:
dependencies: - context: rhel9
- buildrequires: platform: el9
platform: [el8]
requires:
platform: [el8]
references:
community: http://nodejs.org
documentation: http://nodejs.org/en/docs
tracker: https://github.com/nodejs/node/issues
profiles:
common:
rpms:
- nodejs
- npm
development:
rpms:
- nodejs
- nodejs-devel
- npm
minimal:
rpms:
- nodejs
s2i:
rpms:
- nodejs
- npm
- nodejs-nodemon
api:
rpms:
- nodejs
- nodejs-devel
- npm
buildopts: buildopts:
rpms: rpms:
macros: | macros: |
%_with_bundled 1 %_with_bundled 1
components: references:
rpms: community: http://nodejs.org
nodejs-packaging: documentation: http://nodejs.org/en/docs
rationale: RPM Macros and Utilities for Node.js Packaging tracker: https://github.com/nodejs/node/issues
buildorder: 10 profiles:
ref: stream-nodejs-18-rhel-8.7.0 common:
nodejs: rpms:
rationale: Javascript runtime and npm package manager. - nodejs
buildorder: 100 - npm
ref: stream-nodejs-18-rhel-8.7.0 development:
nodejs-nodemon: rpms:
rationale: Simple monitor script for use during development of a node.js app - nodejs
buildorder: 200 - nodejs-devel
ref: stream-nodejs-18-rhel-8.7.0 - npm
minimal:
rpms:
- nodejs
s2i:
rpms:
- nodejs
- npm
- nodejs-nodemon
api:
rpms:
- nodejs
- nodejs-devel
- npm
components:
rpms:
nodejs-packaging:
rationale: RPM Macros and Utilities for Node.js Packaging
buildorder: 10
ref: stream-nodejs-18-rhel-8.7.0
nodejs:
rationale: Javascript runtime and npm package manager.
buildorder: 100
ref: stream-nodejs-18-rhel-8.7.0
nodejs-nodemon:
rationale: Simple monitor script for use during development of a node.js app
buildorder: 200
ref: stream-nodejs-18-rhel-8.7.0