diff --git a/ruby.yaml b/ruby.yaml index 3f83716..1bfb38d 100644 --- a/ruby.yaml +++ b/ruby.yaml @@ -1,7 +1,5 @@ -# Keep a generated ruby.yaml file URL here to follow latest configuration. -# https://github.com/fedora-modularity/dependency-report/blob/master/modules/ruby/ruby.yaml document: modulemd -version: 1 +version: 2 data: # From ruby.spec Summary summary: An interpreter of object-oriented scripting language @@ -19,18 +17,21 @@ data: documentation: https://www.ruby-lang.org/en/documentation/ tracker: https://bugs.ruby-lang.org/ dependencies: - buildrequires: - platform: f28 - requires: - platform: f28 + - buildrequires: + # platform: [] is recommended. + platform: [-el8] + requires: + platform: [-el8] components: # SRPMs rpms: ruby: # From ruby.spec Summary rationale: An interpreter of object-oriented scripting language + multilib: [x86_64] buildorder: 101 - ref: master + # Set a reference on master to guarantee the Ruby version 2.5. + ref: ruby-2.5 rubygem-abrt: # From rubygem-abrt.spec Summary rationale: >- @@ -71,19 +72,17 @@ data: buildopts: rpms: macros: | - %_without_rubypick 1 - %_without_systemtap 1 - %_without_git 1 - %_without_cmake 1 + # To disable tests in several packages. + %_without_tests 1 + # To avoid the test faiures by timeout in ruby. + %test_timeout_scale 6 api: # RPMs # From *.spec %package - # *-doc are filtered. rpms: # From ruby.spec - ruby - ruby-devel - # - ruby-doc - ruby-irb - ruby-libs - rubygems @@ -103,32 +102,16 @@ data: - rubygem-xmlrpc # From rubygem-abrt.spec - rubygem-abrt - # - rubygem-abrt-doc # From rubygem-bundler.spec - rubygem-bundler - # - rubygem-bundler-doc # From rubygem-mysql2.spec - rubygem-mysql2 - # - rubygem-mysql2-doc # From rubygem-pg.spec - rubygem-pg - # - rubygem-pg-doc # From rubygem-bson.spec - rubygem-bson - # - rubygem-bson-doc # From rubygem-mongo.spec - rubygem-mongo - # - rubygem-mongo-doc - filter: - # RPMs - rpms: - - ruby-doc - - rubygem-abrt-doc - - rubygem-bundler-doc - - rubygem-mysql2-doc - - rubygem-pg-doc - - rubygem-bson-doc - - rubygem-mongo-doc # Add profiles/default as a temporary workflow, # because of a issue for omitted profiles element. profiles: