License review and clarification

This commit is contained in:
Vít Ondruch 2024-04-12 17:19:37 +02:00
parent 5da6a15c57
commit 4ff7de7007

View File

@ -171,13 +171,48 @@ Summary: An interpreter of object-oriented scripting language
Name: ruby Name: ruby
Version: %{ruby_version}%{?development_release} Version: %{ruby_version}%{?development_release}
Release: 6%{?dist} Release: 6%{?dist}
# BSD-3-Clause: missing/{crypt,mt19937,setproctitle}.c # Licenses, which are likely not included in binary RPMs:
# Apache-2.0:
# benchmark/gc/redblack.rb
# But this file might be BSD-2-Clause licensed after all:
# https://bugs.ruby-lang.org/issues/20420
# GPL-1.0-or-later: ext/win32/lib/win32/sspi.rb
# GPL-1.0-or-later OR Artistic-1.0-Perl: win32/win32.c, include/ruby/win32.h,
# ext/win32ole/win32ole.c
#
# !!! Problematic licenses:
# LicenseRef-scancode-unicode-mappings: ext/json/generator/generator.c
# https://bugs.ruby-lang.org/issues/11844#note-19
# https://github.com/flori/json/issues/277
# https://github.com/flori/json/pull/567
#
# Licenses under review:
# .bundle/gems/net-imap-0.4.9/LICENSE.txt
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/506
#
# Approved license without SPDX identifier:
# ext/pty/pty.c
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/503
#
# BSD-3-Clause: missing/{crypt,mt19937,setproctitle}.c, addr2line.c:2652
# CC0: ccan/{build_assert/build_assert.h,check_type/check_type.h,
# container_of/container_of.h,str/str.h}
# Allowed based on 'grandfather clause':
# https://gitlab.com/fedora/legal/fedora-license-data/-/blob/7d9720b2cfd8ccb98d1975312942d99588a0da7c/data/CC0-1.0.toml#L11-14
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/499
# dtoa: missing/dtoa.c
# GPL-3.0-or-later WITH Bison-exception-2.2: parse.{c,h}, ext/ripper/ripper.c
# HPND-Markus-Kuhn: missing/langinfo.c
# ISC: missing/strl{cat,cpy}.c # ISC: missing/strl{cat,cpy}.c
# Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ... # LicenseRef-Fedora-Public-Domain: include/ruby/st.h, strftime.c, missing/*, ...
# MIT and CCO: ccan/* # https://gitlab.com/fedora/legal/fedora-license-data/-/merge_requests/145
# zlib: ext/digest/md5/md5.*, ext/nkf/nkf-utf8/nkf.c # MIT: ccan/list/list.h
# Ruby OR BSD-2-Clause OR GPL-1.0-or-later: lib/net/protocol.rb
# Unicode-DFS-2015: some of enc/trans/**/*.src # Unicode-DFS-2015: some of enc/trans/**/*.src
License: (Ruby OR BSD-2-Clause) AND BSD-3-Clause AND ISC AND Public Domain AND MIT and CC0 AND zlib AND Unicode-DFS-2015 # There is also license review ticket here:
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/500
# zlib: ext/digest/md5/md5.*, ext/nkf/nkf-utf8/nkf.c
License: (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND LicenseRef-Fedora-Public-Domain AND MIT AND CC0 AND zlib AND Unicode-DFS-2015 AND HPND-Markus-Kuhn
URL: https://www.ruby-lang.org/ URL: https://www.ruby-lang.org/
Source0: https://cache.ruby-lang.org/pub/%{name}/%{major_minor_version}/%{ruby_archive}.tar.xz Source0: https://cache.ruby-lang.org/pub/%{name}/%{major_minor_version}/%{ruby_archive}.tar.xz
Source1: operating_system.rb Source1: operating_system.rb
@ -374,7 +409,8 @@ Version: %{rubygems_version}
# lib/rubygems/timeout/ # lib/rubygems/timeout/
# lib/rubygems/tsort/ # lib/rubygems/tsort/
# MIT: lib/rubygems/resolver/molinillo # MIT: lib/rubygems/resolver/molinillo
License: (Ruby OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Ruby) AND MIT # Ruby OR BSD-2-Clause OR GPL-1.0-or-later: lib/net/protocol.rb
License: (Ruby OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Ruby) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND MIT
Requires: ruby(release) Requires: ruby(release)
Recommends: rubygem(bundler) >= %{bundler_version} Recommends: rubygem(bundler) >= %{bundler_version}
Recommends: rubygem(rdoc) >= %{rdoc_version} Recommends: rubygem(rdoc) >= %{rdoc_version}
@ -485,7 +521,8 @@ This package contains documentation for %{name}.
%package -n rubygem-bigdecimal %package -n rubygem-bigdecimal
Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic
Version: %{bigdecimal_version} Version: %{bigdecimal_version}
License: Ruby OR BSD-2-Clause # dtoa: missing/dtoa.c
License: (Ruby OR BSD-2-Clause) AND dtoa
Provides: bundled(rubygem-bigdecimal) = %{bigdecimal_version} Provides: bundled(rubygem-bigdecimal) = %{bigdecimal_version}
%description -n rubygem-bigdecimal %description -n rubygem-bigdecimal
@ -1688,6 +1725,7 @@ make -C %{_vpath_builddir} runruby TESTRUN_SCRIPT=" \
%changelog %changelog
* Fri Apr 12 2024 Vít Ondruch <vondruch@redhat.com> - 3.3.0-6 * Fri Apr 12 2024 Vít Ondruch <vondruch@redhat.com> - 3.3.0-6
- Add `bundled` provide for NKF. - Add `bundled` provide for NKF.
- License review and fixes of SPDX syntax.
* Wed Mar 06 2024 Vít Ondruch <vondruch@redhat.com> - 3.3.0-5 * Wed Mar 06 2024 Vít Ondruch <vondruch@redhat.com> - 3.3.0-5
- Fix FTBFS caused by OpenSSL 3.2.1 update. - Fix FTBFS caused by OpenSSL 3.2.1 update.