Description of problem: Currently ts.addInstall knows nothing of relocations, the call to rpmtsAddInstallElement passes NULL for relocations. As rpm-python should be fully functional I'm adding an rfe. Version-Release number of selected component (if applicable): rpm-4.3 How reproducible: Always - you just can't do it Steps to Reproduce: n/a Actual results: n/a Expected results: setting a relocation should be exposed Additional info: I guesss having an array/dict which we wrap to rpmRelocation and allow that to be set is one way of doing this.
Passing relocations from bindings is the wrong approach, permitting macros in dirnames/basenames will be how relocations are eventually handled.