Require rubygem-rails RPM only on Fedora.

CentOS Stream & RHEL >= 8 do not contain rubygem-rails.
Trying to install such RPM will fail.

It did not fail in CI for CentOS PR https://gitlab.com/redhat/centos-stream/rpms/ruby/-/merge_requests/44
due to the CI enabling Fedora repo, which is not correct.
This is tracked in https://issues.redhat.com/browse/TFT-2564

Furthermore, we also should not expect EPEL in the future:
https://issues.redhat.com/browse/TFT-2881
This commit is contained in:
Jarek Prokop 2024-09-23 13:28:42 +02:00
commit 6eec1a682c

View file

@ -2,6 +2,7 @@ adjust:
- when: distro != fedora
require-:
- rubypick
- rubygem-rails
environment:
PACKAGES: "ruby rubygems"
summary: Test creates new rails application in collection and runs it