rpmlint looks for "make test" or "make check" outside the %check section of the spec when checking SRPMs (make-check-outside-check-section). Unfortunately one of the places it looks is in the changelog, so a changelog entry like this: * Sat Jul 31 2004 Paul Howarth <paul> 1.20-1 - Update to 1.20 - Moved `make test' into %%check section - General tidy up of spec file results in: W: perl-Mail-Mbox-MessageParser make-check-outside-check-section - Moved `make test' into %%check section
I haven't tested it myself, but I think this was fixed a couple of days ago in upstream svn: http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1245 Could you try it out and let me know if it works for you? Hm, skimming the patch tells me that we should probably also skip the test in %description sections.
The patch worked for me. I agree about the %description sections but I think it's much less likely to be a problem there.
Fixed in 0.78-1.