From 1fb4fbda923b5e9bb1c1620cf4143adc5d352603 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Apr 17 2026 09:15:30 +0000 Subject: Loosen the Source requirement for RubyGems --- diff --git a/guidelines/modules/ROOT/pages/Ruby.adoc b/guidelines/modules/ROOT/pages/Ruby.adoc index c1ddbc3..2f3a5a0 100644 --- a/guidelines/modules/ROOT/pages/Ruby.adoc +++ b/guidelines/modules/ROOT/pages/Ruby.adoc @@ -245,9 +245,12 @@ An unqualified "package" in the following always means an RPM. * Spec files MUST contain a definition of `+%{gem_name}+` which is the name from the Gem's specification. -* The `Source` of the package MUST be +* The `Source` of the package SHOULD be the full URL to the released Gem archive; - the version of the package MUST be the Gem's version. + otherwise, the spec file MUST contain a comment + explaining why a different `Source` was chosen. + +* The version of the package MUST be the Gem's version. * The package MUST have `BuildRequires: rubygems-devel`