diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2020-11-05 20:28:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 21:28:12 +0200 |
commit | cc033e5476b40a97662f15af1736262371738e50 (patch) | |
tree | ccf2a7bf6c582ca67b813e7c98df5d38135329d1 /test cases | |
parent | 7860a6aeab9514391f02923a7f6357f094c8af68 (diff) | |
download | meson-cc033e5476b40a97662f15af1736262371738e50.zip meson-cc033e5476b40a97662f15af1736262371738e50.tar.gz meson-cc033e5476b40a97662f15af1736262371738e50.tar.bz2 |
docs: Recommend to use SPDX license identifiers [skip ci]
Some license identifiers are ambiguous (e.g. "GPL3"). The SPDX license
identifiers avoid this by providing standardized and unique identifiers
(e.g. "GPL-3.0-only" or "GPL-3.0-or-later" for the previous example).
Because SPDX short-form identifiers are also both human- and
machine-readable we should recommend them in the documentation.
More information (advantages, details, etc.) can be found here:
- https://spdx.dev/resources/use/#identifiers
- https://spdx.dev/ids/
Fix #7905.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/166 get project license/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test cases/common/166 get project license/meson.build b/test cases/common/166 get project license/meson.build index 37303e3..e7e9deb 100644 --- a/test cases/common/166 get project license/meson.build +++ b/test cases/common/166 get project license/meson.build @@ -1,8 +1,8 @@ -project('bar', 'c', license: 'Apache') +project('bar', 'c', license: 'Apache-2.0') executable('bar', 'bar.c') license = meson.project_license()[0] -if license != 'Apache' - error('The license should be Apache, but it is: ' + license) +if license != 'Apache-2.0' + error('The license should be Apache-2.0, but it is: ' + license) endif |