Correct License: some files are GPL 2 or 3, not later

src/dvdread/nav_types.h and src/nav_print.c have this:

 * VOBDUMP is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 or version 3 as
 * published by the Free Software Foundation.  Note that I am not
 * granting permission to redistribute or modify VOBDUMP under the terms
 * of any later version of the General Public License.

Therefore, the GPL-2.0-or-later license ID does not apply to them.
Add (GPL-2.0-only OR GPL-3.0-only) to the License expression.

Also, remove HPND-Kevlin-Henney - the file msvc/contrib/dirent/dirent.c
is not being compiled on Linux.

Resolves: RHEL-53348
This commit is contained in:
Pavel Cahyna 2024-08-13 19:43:29 +02:00
parent 7ee392c167
commit 5b4fee9e71

View File

@ -4,10 +4,11 @@ Name: libdvdread
Version: 6.1.3
Release: 7%{?dist}
Summary: A library for reading DVD video discs based on Ogle code
# msvc/contrib/dirent/dirent.c is HPND-Kevlin-Henney
# msvc/contrib/dirent/dirent.c is HPND-Kevlin-Henney, but is not included in the build
# src/logger.c and few other are LGPL-2.1-or-later
# part of src/md5.c is LicenseRef-Fedora-Public-Domain
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND HPND-Kevlin-Henney AND LicenseRef-Fedora-Public-Domain
# src/dvdread/nav_types.h and src/nav_print.c are GPL-2.0 or GPL-3.0 (no later versions)
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LicenseRef-Fedora-Public-Domain
URL: https://www.videolan.org/developers/libdvdnav.html
Source0: https://download.videolan.org/pub/videolan/libdvdread/%{version}/libdvdread-%{version}.tar.bz2
Source1: https://download.videolan.org/pub/videolan/libdvdread/%{version}/libdvdread-%{version}.tar.bz2.asc