rpmlint: Filter out spelling error and don't report extra tokens at the

end of %endif/%else directives
This commit is contained in:
Tomas Hrnciar 2021-04-13 10:59:46 +02:00
parent b0799ddfe3
commit b5468d88c7

View File

@ -0,0 +1,9 @@
# we have extra tokens at the end of %endif/%else directives, we consider them useful
addFilter(r'extra tokens at the end of %(endif|else) directive')
# specfile-errors are listed twice, once with reason and once without
# we filter out the empty ones
addFilter(r'\bpython-setuptools\.(src|spec): (E|W): specfile-error\s+$')
# SPELLING ERRORS
addFilter(r'W: spelling-error .* en_US distutils ')