Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH] gemspec: use SPDX-compatible license for GPL-2.0+
@ 2015-10-19 21:18 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-10-19 21:18 UTC (permalink / raw)
  To: rainbows-public

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<espace-neverblock>, ["~> 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-19 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-19 21:18 [PATCH] gemspec: use SPDX-compatible license for GPL-2.0+ Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/rainbows.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).