The original desired license for the project was GPL-2.0-or-later
but during the development a few files (e.g. fabrics.c and nvme.h)
got added which are licensed as GPL-2.0-only, which renders the
whole project to GPL-2.0-only.
Update the meson license field and the nvme.spec license field.
While at it mentions this in the contributions notes as well.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
**NOTE: If you do decide to implement code changes and contribute them,
please make sure you agree your contribution can be made available
-under the [GPLv2-style License used for the NVMe CLI](https://github.com/linux-nvme/nvme-cli/blob/master/LICENSE).**
+under the [GPLv2-style License used for the NVMe CLI](https://github.com/linux-nvme/nvme-cli/blob/master/LICENSE).
+(SPDX-License-Identifier: GPL-2.0-or-later)**
+
+Because there are a few files licensed under GPL-2.0-only, the whole
+project is tagged as GPL-2.0-only and not as GPL-2.0-or-later.
### Code Contributions
project(
'nvme-cli', ['c', 'cpp'],
meson_version: '>= 0.47.0',
- license: 'LGPLv2+',
+ license: 'GPL-2.0-only',
version: '2.0',
default_options: [
'c_std=gnu99',
Version: @VERSION@
Release: 1%{?dist}
Summary: Core nvme tools
-License: GPL
+License: GPL-2.0-only
Group: Development/Tools
URL: https://github.com/linux-nvme/nvme-cli/
Provides: nvme