diff --git a/src/reports.c b/src/reports.c index bb52f5f..b591082 100644 --- a/src/reports.c +++ b/src/reports.c @@ -1895,7 +1895,11 @@ print_datatables(struct configTag *ct, int arch) { nonobsoletednumproviders=0; for (i = 0; i < provided->numproviders; i++) { // skip duplicated provides - if ((i > 0) && (provided->provider[i] == provided->provider[i-1])) continue; + if (i > 0) { + if (provided->provider[i] == provided->provider[i-1]) continue; + else if (!strcmp(provided->provider[i]->name,provided->provider[i-1]->name) && + !provided->provider[i-1]->obsoleted) continue; + } if (!provided->provider[i]->obsoleted) nonobsoletednumproviders++; } if (nonobsoletednumproviders > 1) {