rpmtoolbox is a collection of scripts for rpm spec maintainers.