Update modulemd for ruby:3.1 stream.

Migrate to modulemd-packager v3.
We only need one context.
Remove rubygem-abrt from the module as it is not longer present in C9S.
Clean up the RPM API section.

We do not need `sources` file for modules. Delete it.

Resolves: rhbz#2063773
This commit is contained in:
Jarek Prokop 2022-06-03 19:17:12 +02:00
parent a0361297b7
commit 6baae308bf
2 changed files with 15 additions and 20 deletions

View File

@ -1,21 +1,19 @@
---
document: modulemd
version: 2
document: modulemd-packager
version: 3
data:
stream: 3.0
name: ruby
stream: 3.1
summary: An interpreter of object-oriented scripting language
description: >-
Ruby is the interpreted scripting language for quick and easy object-oriented
programming. It has many features to process text files and to do system management
tasks (as in Perl). It is simple, straight-forward, and extensible.
license:
module:
- MIT
dependencies:
- buildrequires:
platform: [el8]
requires:
platform: [el8]
configurations:
- context: '9'
platform: el9
references:
community: http://ruby-lang.org/
documentation: https://www.ruby-lang.org/en/documentation/
@ -27,10 +25,10 @@ data:
api:
rpms:
- ruby
- ruby-bundled-gems
- ruby-default-gems
- ruby-devel
- ruby-libs
- rubygem-abrt
- rubygem-bigdecimal
- rubygem-bundler
- rubygem-io-console
@ -38,34 +36,31 @@ data:
- rubygem-json
- rubygem-minitest
- rubygem-mysql2
- rubygem-net-telnet
- rubygem-openssl
- rubygem-pg
- rubygem-power_assert
- rubygem-psych
- rubygem-rake
- rubygem-rbs
- rubygem-rexml
- rubygem-rss
- rubygem-rdoc
- rubygem-test-unit
- rubygem-xmlrpc
- rubygem-typeprof
- rubygems
- rubygems-devel
components:
rpms:
ruby:
rationale: An interpreter of object-oriented scripting language
ref: stream-ruby-3.0-rhel-8.7.0
ref: stream-ruby-3.1-rhel-9.1.0
buildorder: 101
multilib: [x86_64]
rubygem-abrt:
rationale: ABRT support for Ruby
ref: stream-ruby-3.0-rhel-8.7.0
buildorder: 102
rubygem-mysql2:
rationale: A simple, fast Mysql library for Ruby, binding to libmysql
ref: stream-ruby-3.0-rhel-8.7.0
ref: stream-ruby-3.1-rhel-9.1.0
buildorder: 102
rubygem-pg:
rationale: A Ruby interface to the PostgreSQL RDBMS
ref: stream-ruby-3.0-rhel-8.7.0
ref: stream-ruby-3.1-rhel-9.1.0
buildorder: 102
...

View File