From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD,URIBL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: rainbows-public@bogomips.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 62B3B1F805 for ; Mon, 19 Oct 2015 21:18:38 +0000 (UTC) From: Eric Wong To: rainbows-public@bogomips.org Subject: [PATCH] gemspec: use SPDX-compatible license for GPL-2.0+ Date: Mon, 19 Oct 2015 21:18:38 +0000 Message-Id: <20151019211838.12780-1-e@80x24.org> List-Id: Current versions of RubyGems still complains about the '+' is valid according to: http://spdx.org/licenses --- rainbows.gemspec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rainbows.gemspec b/rainbows.gemspec index 3410197..afc8b5a 100644 --- a/rainbows.gemspec +++ b/rainbows.gemspec @@ -53,7 +53,11 @@ Gem::Specification.new do |s| # NeverBlock, currently only available on http://gems.github.com/ # s.add_dependency(%q, ["~> 0.1.6.1"]) - # We inherited the Ruby 1.8 license from Mongrel, so we're stuck with it. - # GPLv3 is preferred. - s.licenses = ["GPLv2+", "Ruby 1.8"] + # Note: To avoid ambiguity, we intentionally avoid the SPDX-compatible + # 'Ruby' here since Ruby 1.9.3 switched to BSD-2-Clause license while + # we already inherited our license from Mongrel during Ruby 1.8. + # We cannot automatically switch licenses when Ruby changes their license, + # so we remain optionally-licensed under the terms of Ruby 1.8 despite + # not having a good way to specify this in an SPDX-compatible way... + s.licenses = ['GPL-2.0+', 'Nonstandard'] # Nonstandard = 'Ruby 1.8' end -- EW