libpriv: Print repository name for each package too

I'm trying to debug why I'm getting an older version of `docker`,
and it's useful to see the repository name we're getting something
from.  Yum does this by default.

(Though we should probably consider column formatted output too
 on a tty)

Closes: #282
Approved by: jlebon
This commit is contained in:
Colin Walters 2016-05-09 12:35:47 -04:00 committed by Colin Walters (automation)
parent 582650e9c7
commit cbadc9bdaa

View File

@ -924,7 +924,7 @@ rpmostree_print_transaction (HifContext *hifctx)
for (i = 0; i < install->len; i++)
{
HifPackage *pkg = install->pdata[i];
g_print (" %s\n", hif_package_get_nevra (pkg));
g_print (" %s (%s)\n", hif_package_get_nevra (pkg), hif_package_get_reponame (pkg));
}
}
}