*Edit:* Yes, there is fedpkg lint but it somewhat limited so read on. Instead of addition of "rpmlint" command Pingou will improve current lint

Recently I was trying to help OpenSuSE guys with some updates to
their Java stack and I was sent link
to their build system. I noticed a file called
jpackage-utils-rpmlintrc and this got me thinking...

What if we added rpmlint command to fedpkg with per-package
rpmlint ignore settings? Turns out Pingou took my
idea and implemented it in under an hour :-)

OK, so we can run rpmlint on spec, srpm and binary rpms with single command. But I don't like to see the same warnings all the time, because that means I will probably miss real problems when they appear. For this fedpkg rpmlint uses .rpmlint file as additional rpmlint config. So after creating:

Cool right? Pierre sent patch with this feature to fedpkg developers, so hopefully we'll see this addition soon. I then plan to add custom .rpmlint configurations to all my packages so that they will be warning-free.

Is the "rpmlint has not been run[...] but should" message a reminder to run an unfiltered rpmlint? The only thing I would want to make clear to packagers is that their local filters shouldn't be used in posting rpmlint output for package reviews. Or if nothing else, there should be a clear indicator that the output is filtered. For instance, the tool could output "filtered warnings, errors".

Current "fedpkg lint" refuses to run when binary rpms are not already built. This change will run, but instead output this warning (message should probably be improved).

I'd say that review should start with empty .rpmlint, but finish with 0 errors/warnings and possible additions of those custom rules to .rpmlint). Also, there is no way to distinguish "filtered" warnings because mechanism for their filtering is the same in global configuration we customized for Fedora guidelines.