From 1a92b0ad2cf47fdb95004924bdb6b303e2dca4a6 Mon Sep 17 00:00:00 2001 From: Pavol Sloboda Date: Wed, 25 Jun 2025 15:21:21 +0200 Subject: [PATCH] [SPDX] As the last rebase introduced a couple of changes in the LICENSE.txt file I have decided to look into the licensing of this package After some analysis I found the following licenses: (MIT OR GPL-2.0-only) AND GPL-2.0-only AND BSD-2-Clause Since: The main LICENSE.txt file has the GPL-2.0-only license inside it. the sphinx_rtd_theme project is licensed under MIT/GPL-2.0-only most of the project has explicit headers in the files stating to use the license of the `sphinx_rtd_theme project` namely: all the files inside docs/mysqlx/_themes/sphinx_rtd_theme/locale/ some of the files inside docs/mysqlx/_themes/sphinx_rtd_theme/static/js though some of the last mentioned ones also have GPL2 specified in them as an alternative to the MIT The search.html file is licensed under the BSD-2-Clause since it contains a link to this file: https://github.com/sphinx-doc/sphinx/blob/master/LICENSE which is an invalid link because the target file was renamed to LICENSE.rst therefore the link should be: https://github.com/sphinx-doc/sphinx/blob/master/LICENSE.rst and the target of said link contains the BSD-2-Clause license The main LICENSE.txt file also contains the: Universal FOSS Exception, Version 1.0 which can be found here: https://oss.oracle.com/licenses/universal-foss-exception/ as linked in the LICENSE.txt file I will not mention the exception in the License clause since there is an issue opened on gitlab which can be found here: https://gitlab.com/fedora/legal/fedora-license-data/-/issues/182 which states that the exception should be omitted for the time being. I will try to reach out to the people assigned to the issue as the last update to it was in 2023 and this exception is present in multiple mysql product we package. --- mysql-connector-python.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index ef6d95a..4f53fc0 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -25,7 +25,7 @@ Release: 1%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. -License: LicenseRef-Callaway-GPLv2-with-exceptions +License: (MIT OR GPL-2.0-only) AND GPL-2.0-only AND BSD-2-Clause URL: http://dev.mysql.com/doc/connector-python/en/index.html # Upstream has a mirror redirector for downloads, so the URL is hard to # represent statically. You can get the tarball by following a link from