The attached patch adds support for removing packages as part of a transaction set similar to the current support for installing new packages. Patch is against current CVS HEAD although it also patches and compiles cleanly against the 4.0 branch. Would be nice so that python apps interacting with rpm can actually remove packages without shelling out to do 'rpm -e' and killing the chance of using rpm's built-in dependency checking
Created attachment 5663 [details] add package removal to python bindings
Added in CVS. Should be in rpm-4.0.1-0.15 and later. Thanks for the needed patch.