From b80887e10c54e36099a582bfdd54e2bc46b92499 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 17 May 2012 12:52:18 +0200 Subject: [PATCH] printpkgicon: also print Archs list of target built packages --- src/reports.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/reports.c b/src/reports.c index 10324cb..972aca5 100644 --- a/src/reports.c +++ b/src/reports.c @@ -151,6 +151,7 @@ void printpkgicon(FILE *fout, struct configTag *configtag, struct headerSourceLi char buffer[PATH_MAX]; char strdate[16]; + int i; if (s->updrepository >= 0) { fprintf(fout, @@ -184,6 +185,11 @@ void printpkgicon(FILE *fout, struct configTag *configtag, struct headerSourceLi "title=\"WARNING: missing changelog"); } + fprintf(fout,"\n\nArchs:"); + for (i = 0; i < ARCHS_MAX && configtag->arch[i]; i++) { + if (s->firstchild[i]) fprintf(fout," %s", configtag->arch[i]); + } + if (s->updrepository >= 0) { fprintf(fout, "\n\nUpdates package in %s\">",