--- output.py | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/output.py b/output.py index f21b790..37c14cf 100755 --- a/output.py +++ b/output.py @@ -1288,7 +1288,15 @@ class YumOutput: item = self._enc(item) can_overflow = False else: - key = _("Other : ") + provs = [] + for prov in po.provides: + if prov[0] == item: + provs.append(prov) + if provs: + key = _("Provides : ") + item = yum.misc.prco_tuple_to_string(sorted(provs)[0]) + else: + key = _("Other : ") if matchfor: item = self._sub_highlight(item, highlight, matchfor, -- 1.7.6.4 _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel