File yum-3.4.3-fix-repo-tag.patch of Package yum.10502
--- a/yum/repoMDObject.py.orig 2014-04-14 16:38:41.520300670 +0000
+++ b/yum/repoMDObject.py 2014-04-14 16:40:58.680570788 +0000
@@ -187,6 +187,8 @@ class RepoMD:
child_name = ns_cleanup(child.tag)
if child_name == 'content':
self.tags['content'].add(child.text)
+ if child_name == 'repo':
+ self.tags['repo'].add(child.text)
if child_name == 'distro':
cpeid = child.attrib.get('cpeid', '')
distro = self.tags['distro'].setdefault(cpeid,set())
@@ -218,6 +220,8 @@ class RepoMD:
print 'revision: %s' % self.revision
if self.tags['content']:
print 'tags content: %s' % ", ".join(sorted(self.tags['content']))
+ if self.tags['repo']:
+ print 'tags repo: %s' % ", ".join(sorted(self.tags['repo']))
if self.tags['distro']:
for distro in sorted(self.tags['distro']):
print 'tags distro: %s' % distro