[ruby/openssl] openssl.gemspec: add BSD-2-Clause to the list of licenses

ruby/openssl is licensed under the terms of either the Ruby License or
the 2-Clause BSD License.

The git repository and built .gem files always contained the license
text for both license, but the metadata in the gemspec only specified
the Ruby License. Let's include both.

c71714d738
This commit is contained in:
Kazuki Yamaguchi 2024-05-01 16:58:52 +09:00 committed by git
parent 0b92929e52
commit 5f380dfdb2

View file

@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
spec.summary = %q{SSL/TLS and general-purpose cryptography for Ruby} spec.summary = %q{SSL/TLS and general-purpose cryptography for Ruby}
spec.description = %q{OpenSSL for Ruby provides access to SSL/TLS and general-purpose cryptography based on the OpenSSL library.} spec.description = %q{OpenSSL for Ruby provides access to SSL/TLS and general-purpose cryptography based on the OpenSSL library.}
spec.homepage = "https://github.com/ruby/openssl" spec.homepage = "https://github.com/ruby/openssl"
spec.license = "Ruby" spec.licenses = ["Ruby", "BSD-2-Clause"]
if Gem::Platform === spec.platform and spec.platform =~ 'java' or RUBY_ENGINE == 'jruby' if Gem::Platform === spec.platform and spec.platform =~ 'java' or RUBY_ENGINE == 'jruby'
spec.platform = "java" spec.platform = "java"