Yes, I'm here. Just playing catch up. I'll try and digest these things from an rpm/rpm-python point of view.
If I'm understanding it you want something ala:
ts.addReplacement(hdr1, hdr2)
which is equivalent to:
addInstall(hdr1, blah, 'i') addErase(hdr2)
or am I just on crack.
sorta. I was actually thinking of an extension to addInstall(hdr1, 'u')
so if you have multiple packages of the same name installed rpm would know to only update one of them - not all of them.
sorta like being able to set which package gets obsoleted out of a set of multiply installed packages.
-sv