Add repository information for package in "missing SRPM" warning

This commit is contained in:
Silvan Calarco 2013-06-12 18:21:34 +02:00
parent 9af956da14
commit 00a537a56e

View File

@ -981,9 +981,10 @@ addToHeaderList(struct configTag *ct,
if ((!newheaderlist->sourceheader) || if ((!newheaderlist->sourceheader) ||
(newheaderlist->sourceheader->altrepository) <= altrepository) (newheaderlist->sourceheader->altrepository) <= altrepository)
{ {
logmsg(LOG_WARNING,"%s(%s): missing SRPM %s-%s-%s; skipping.", logmsg(LOG_WARNING,"%s(%s,%s): missing SRPM %s-%s-%s; skipping.",
newheaderlist->name, newheaderlist->name,
ct->arch[arch], ct->arch[arch],
ct->repository[altrepository]->tag,
newheaderlist->sourcename, newheaderlist->sourcename,
newheaderlist->version, newheaderlist->release); newheaderlist->version, newheaderlist->release);
(void) headerFree(h); (void) headerFree(h);