Description of problem: It would be useful to have a method in the rpm command to check what packages are being obsoleted or conflicted by a package. It can of course be checked from the spec file but that is not very efficient, adding few query flags would be more elegant.
They exist as popt aliases (see /usr/lib/rpm/rpmpopt* rpm -q --obsoletes perl rpm -qp --conflicts /path/to/confliting-1.0.noarch.rpm