The /usr/lib/rpm/convertrpmrc.sh script creates %topdir macro instead %_topdir
There were a number of problems like this in the script. Thanks for reporting. Fixed in rpm-3.0.1-10