Right now, if the spec file is missing from the tree of a commit, release counting would start fresh once it's added back. This doesn't make sense especially for unretired packages. Rather than that, such commits should just be disregarded for release counting and changelog generation.
Commit 814ad80c fixes this issue