From cdf0f1d7c8a2da0e16ea4160e6a768e5618d0278 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 5 Sep 2013 17:55:56 +0200 Subject: [PATCH] reports: don't add obsoleted packages to built packages lists --- src/reports.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/reports.c b/src/reports.c index b591082..54aac5e 100644 --- a/src/reports.c +++ b/src/reports.c @@ -2092,8 +2092,10 @@ print_datatables(struct configTag *ct, int arch) { obsoletebuf[0] = '\0'; while (currchild) { - fprintf(fbsh,"%s",currchild->name); - fprintf(fb," %s",currchild->name); + if (currchild->obsoleted == 0) { + fprintf(fbsh,"%s",currchild->name); + fprintf(fb," %s",currchild->name); + } for (i = 0; i < currchild->obsoletecount; i++ ) { if ((i > 0) && (!strcmp(currchild->obsoletename[i],currchild->obsoletename[i-1]))) continue; if (strlen(obsoletebuf) + strlen(currchild->obsoletename[i]) >= PATH_MAX - 2) {