Mike, may be I'm completely misunderstood, but seems that headers exported by rpm-5.0 are not usable as some of them depend on other system headers they do not include and some are just incomplete. At least I did not manage to include anything but rpm/rpmio.h, while sussen needs rpmps.h included too. If I am correct, then may it's worth to hardmask rpm-5.0? Take a look at bug 202399 too.
Mike, may be I'm completely misunderstood, but seems that headers exported by rpm-5.0 are not usable as some of them depend on other system headers they do not include and some are just incomplete. At least I did not manage to include anything but rpm/rpmio.h, while sussen needs rpmps.h included too. If I am correct, then may it's worth to hardmask rpm-5.0? Take a look at bug 202399 too.