From b5bcd8473d4cb3b880a415088f4e5637736550c2 Mon Sep 17 00:00:00 2001 From: James Thompson Date: Wed, 25 Mar 2026 14:06:10 +1100 Subject: [PATCH] chore: Have license content match gemspec (#1654) This updates the gemspec to explicitly mention the GPL license as per the license files which also make clear the license expression. This ensures that tools such as Fossa are not generating false positives for using just GPL licenses in Apache licensed projects. --------- Co-authored-by: Sutou Kouhei --- LICENSE.rdoc | 4 ++++ rdoc.gemspec | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/LICENSE.rdoc b/LICENSE.rdoc index c61bb93398..5e498115ec 100644 --- a/LICENSE.rdoc +++ b/LICENSE.rdoc @@ -1,3 +1,7 @@ +:stopdoc: +SPDX-License-Identifier: Ruby or GPL-2.0-only +:startdoc: + = License RDoc is copyrighted free software. diff --git a/rdoc.gemspec b/rdoc.gemspec index 26340c030e..1afe52f7b6 100644 --- a/rdoc.gemspec +++ b/rdoc.gemspec @@ -26,7 +26,7 @@ RDoc produces HTML and command-line documentation for Ruby projects. RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line. DESCRIPTION s.homepage = "https://ruby.github.io/rdoc" - s.licenses = ["Ruby"] + s.licenses = ["Ruby", "GPL-2.0-only"] s.metadata["homepage_uri"] = s.homepage s.metadata["source_code_uri"] = "https://github.com/ruby/rdoc"