Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Fallback on fedora_name only if the _abbrev fields are empty
In the license inspection, fallback on the fedora_name field if it contains text and both fedora_abbrev and spdx_abbrev are empty. An abbrev field with text that begins with '#' is considered a comment and the field is treated as empty in the code. Fixes: #546 Signed-off-by: David Cantrell <dcantrell@redhat.com>
- Loading branch information