If anybody is interested, attached are:
1) yum 3.2.27 patch for RHEL6 (applies after other RHEL6 yum patches, so
it may not apply cleanly against vanilla yum 3.2.27)
2) Modified spec file for RHEL6.
I haven't tested this extensively yet, but it works for me so far.
To build the RHEL6 package with the patch:
wget http://path/to/mirror/yum-3.2.27-12.el6.src.rpm
rpm -ivh yum-3.2.27-12.el6.src.rpm
Put the patch in ~/rpmbuild/SOURCES
Put the spec in ~/rpmbuild/SPECS
rpmbuild -ba yum.spec
I hope somebody finds this useful.
Gordan