#1 There is no such thing as a comment in the license tag
Closed by msuchy. Opened by churchyard.

The grammar defines:

COMMENT: "#" /[^\n]/*
%ignore COMMENT

But I believe this should not be done. Comments in the license tags are bugs that should be fixed:

Name:           reproducer
Version:        0
Release:        0
License:        MIT  # this is a comment
...
$ rpm -qi reproducer-0-0.src.rpm
...
License     : MIT  # this is a comment
...

Nice catch.
It is actually an unreachable rule. And it is left over from my previous attempts.

Removed.

Removed in a84d812

Metadata Update from @msuchy:
- Issue status updated to: Closed (was: Open)

This issue has been migrated to GitHub: https://github.com/fedora-copr/license-validate/issues/1
Don't forget to subscribe for notifications about new comments.

Metadata