public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mysql-connector-odbc] rawhide: Replace transitional Callaway license ref with reviewed SPDX expression
@ 2026-10-25 21:31 Michal Schorm
  0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-10-25 21:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mysql-connector-odbc
            Branch : rawhide
            Commit : c7fa7ab8f322a75b8a08a32094ce77904ade7a99
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-10-25T21:30:28+00:00
            Stats  : +1/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mysql-connector-odbc/c/c7fa7ab8f322a75b8a08a32094ce77904ade7a99?branch=rawhide

            Log:
            Replace transitional Callaway license ref with reviewed SPDX expression

Replace 'LicenseRef-Callaway-GPLv2-with-exceptions' (auto-converted,
never reviewed) with a proper SPDX expression based on source analysis
of version 9.7.0:

  (GPL-2.0-only WITH Universal-FOSS-exception-1.0) AND Apache-2.0

Analysis of what ships in the binary RPM:

  GPL-2.0-only WITH Universal-FOSS-exception-1.0:
    Every source file in 'driver/', 'util/', 'mysql_strings/', 'mysql_sys/',
    and 'include/' carries the Oracle/MySQL header stating "GNU General
    Public License, version 2.0" with two additional permissions:
    (1) linking with separately-licensed software (OpenSSL etc.) and
    (2) the Universal FOSS Exception 1.0. The "Election of GPLv2" clause
    in 'LICENSE.txt' further confirms GPL-2.0-only, not -or-later.
    No standard SPDX exception ID exists for the OpenSSL linking
    permission; it is an additional grant that relaxes GPL copyleft.
    This is consistent with how the 'mysql-common' package (mysql-server)
    handles the same license structure in Fedora.

  Apache-2.0:
    Bundled OpenTelemetry C++ API headers in
    'extra/otel/opentelemetry-cpp-1.10.0/api/' (Apache-2.0, header-only
    INTERFACE library). Telemetry is enabled by default on Linux
    (CMake sets 'TELEMETRY ON' when not WIN32/APPLE/SunOS) and the spec
    does not override it. The driver's 'telemetry.cc' includes OTel
    headers; the inline/template code compiles into all three shipped
    .so files. 'LICENSE.txt' (line 2133) explicitly documents: "The terms
    of the Oracle license do NOT apply to the opentelemetry-cpp library;
    it is licensed under [Apache-2.0]."

Components in 'LICENSE.txt' NOT compiled into the RPM binary (excluded):
  - Cyrus SASL, Kerberos5, Google Protocol Buffers, abseil-cpp, libfido2,
    zlib, curl, OpenSSL, Data Connectors (MIT), nlohmann/json — all
    dynamically linked system libraries; the spec uses
    '-DMYSQLCLIENT_STATIC_LINKING=OFF'.
  - 'my_hash_combine.h' (Boost BSL-1.0 derived) — present in source tree
    but not '#include'd by any compiled source file (dead code).

Cross-reference: 'mysql-common' package uses the same pattern:
  "GPL-2.0-only AND ( GPL-2.0-only WITH Universal-FOSS-exception-1.0 )
  AND ... AND Apache-2.0"

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/mysql-connector-odbc.spec b/mysql-connector-odbc.spec
index 0a6cf75..f3a5445 100644
--- a/mysql-connector-odbc.spec
+++ b/mysql-connector-odbc.spec
@@ -8,8 +8,7 @@ Name:           mysql-connector-odbc
 Version:        9.7.0
 Release:        %autorelease
 Summary:        ODBC driver for MySQL
-# Automatically converted from old format: GPLv2 with exceptions - review is highly recommended.
-License:        LicenseRef-Callaway-GPLv2-with-exceptions
+License:        (GPL-2.0-only WITH Universal-FOSS-exception-1.0) AND Apache-2.0
 URL:            https://dev.mysql.com/downloads/connector/odbc/
 
 Source0:        https://cdn.mysql.com/Downloads/Connector-ODBC/9.7/%{name}-%{version}-src.tar.gz

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

only message in thread, other threads:[~2026-10-25 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25 21:31 [rpms/mysql-connector-odbc] rawhide: Replace transitional Callaway license ref with reviewed SPDX expression Michal Schorm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox