The lint subcommand does not always find the correct files. I am testing this with fedpkg lint which uses the rpkg implementation (i.e. does not override with its own implementation). It seems that the lint subcommand always searches for files from paths defined in DIstGitLayout. This can fail in multiple ways:
lint
fedpkg lint
rpkg
DIstGitLayout
DistGitLayout
results_dir = subdir
DistGitResultsDirLayout
mockbuild
fedpkg
My expectation would be that the resulting rpm and srpm are always linted when the lint subcommand is called, no matter what config and subcommands were previously used to build them.
Commit 324b9b05 fixes this issue
Metadata Update from @onosek: - Issue set to the milestone: 1.64