1LICENSE-VALIDATE(1)            License Validate            LICENSE-VALIDATE(1)
2
3
4

NAME

6       license-validate - validates the string in the License tag in the SPEC
7       file
8

SYNOPSIS

10       license-validate [-h] [--old] [--file FILE] [--verbose] license
11
12       positional arguments: license license string. E.g., 'GPL or MIT'.
13

OPTIONS

15       -h, --help
16           Show help message and exit.
17
18       --old
19           Validate using old Fedora’s shortnames. Otherwise SPDX expression
20           is assumed.
21
22       --file FILE
23           Read the grammar from this file. Default is
24           /usr/share/license-validate/grammar.lark. And if this default does
25           not exists then script reads ./full-grammar.lark.
26
27       --verbose, -v
28           Print more human friendly messages. Otherwise just exits with error
29           code zero if license is valid otherwise with error code 1 if
30           license is invalid.
31

DESCRIPTION

33       Validates whether license is in approved set for the distribution.
34
35       This script does not check source files and does not check whether the
36       license is actually correct. For this purpose you may use licensecheck.
37

AUTHORS

39       Miroslav Suchý <msuchy@redhat.com>
40
41
42
43license-validate                  12/30/2022               LICENSE-VALIDATE(1)
Impressum