Rpmdeplint is a tool to find errors in RPM packages in the context of their dependency graph.
rpmdeplint