Remove the un-approved license 'Artistic-1.0-Perl' from the license field

Two reasons:

1) This license is included due to the Perl module 'Expect'. However I wasn't able to actually
   locate it's sources in the MySQL source tarball. I believe it's a remnant of a code that was
   removed in the past.
   I've asked the MySQL upstream to verify my claim and either disprove it or fix the LICENSE
   file in wihch they mention it.

   For this reason I believe the 'GPL-1.0-or-later' also does not apply, so I'm removing it too.
   I'll put the 'GPL-1.0-or-later' should upstream disprove my findings.

2) As per clarification on the Fedora License mailing list:
   https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/message/LBAZXYBAA4YHJ2GEWEP5S7QXVOB76MUR/
  "
  If your package is licensed under a known choice of two licenses and
  one is a "good" license and one is a "bad" license, then the License:
  field must reflect the "good" license only. This is highly uncommon in
  Fedora packages apart from the case of Perl modules dual licensed
  under the GPL and the Artistic License 1.0. In that case you must pick
  the appropriate identifier for the GPL side (which in Perl modules
  will typically map to SPDX "GPL-1.0-or-later"). You are encouraged to
  include a comment memorializing this, for example:
  \# Upstream project is dual licensed GPL | Artistic 1.0
  "
This commit is contained in:
Michal Schorm 2024-07-22 12:58:27 +02:00
parent 6f668c197a
commit 77ed2ab2e2

View File

@ -110,7 +110,7 @@ URL: http://www.mysql.com
# Exceptions allow client libraries to be linked with most open source SW,
# not only GPL code. See README.mysql-license
License: GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND GPL-1.0-or-later OR Artistic-1.0-Perl AND BSD-2-Clause
License: GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND BSD-2-Clause
Source0: https://cdn.mysql.com/Downloads/MySQL-8.4/mysql-%{version}.tar.gz
Source2: mysql_config_multilib.sh