diff --git a/port_stats/repos.py b/port_stats/repos.py index 6f6b415..efd16f4 100644 --- a/port_stats/repos.py +++ b/port_stats/repos.py @@ -375,7 +375,11 @@ def recursive_build_report(from_repo, to_repo, *source_names, while stack: cur = stack.pop() report = _raw_build_report(from_repo, to_repo, cur, ignore) - reports.append(format_triplet_report(report, cur.decode())) + cur_in_to = to_repo.binaries.get(cur) + cur_source_srpm = cur_in_to.source_rpm if cur_in_to else b'NONE' + reports.append('\n== %s ==\n%s has %s\n' % ( + cur.decode(), to_repo.name, cur_source_srpm.decode())) + reports.append(format_triplet_report(report)) # find all sources in the report bld_deps = set(p.source_name for k, _d, p in report if k == _BUILDREQ)