reports: don't add obsoleted packages to built packages lists

This commit is contained in:
Silvan Calarco 2013-09-05 17:55:56 +02:00
parent e07f68435d
commit cdf0f1d7c8

View File

@ -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) {