red-hat-storage / errata-tool

Modern Python API to Red Hat's Errata Tool
MIT License
31 stars 35 forks source link

rpm: remove comments after %endif directives #203

Closed ktdreyer closed 3 years ago

ktdreyer commented 3 years ago

rpmlint and modern RPM versions warn about the comments after the %endif directives.

python-errata-tool.spec: E: specfile-error warning: extra tokens at the end of %endif directive in line 58:  %endif # with_python3

The conditionals are so small that it's fairly easy to read what the code is doing. Remove the comments to silence this error message.