From: Michael Schroeder Date: Tue, 20 Mar 2012 10:38:47 +0000 (+0100) Subject: - don't show vendor/arch changes for packages that were mapped to "erased" X-Git-Tag: BASE-SuSE-Code-12_2-Branch~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c93b3b348ce72b3c80e097018135eff6925f5fe;p=platform%2Fupstream%2Flibsolv.git - don't show vendor/arch changes for packages that were mapped to "erased" --- diff --git a/src/transaction.c b/src/transaction.c index e1c0d2f..816e125 100644 --- a/src/transaction.c +++ b/src/transaction.c @@ -420,6 +420,9 @@ transaction_classify(Transaction *trans, int mode, Queue *classes) ntypes[type]++; if (!pool->installed || s->repo != pool->installed) continue; + /* don't report vendor/arch changes if we were mapped to erase. */ + if (type == SOLVER_TRANSACTION_ERASE) + continue; /* look at arch/vendor changes */ q = transaction_obs_pkg(trans, p); if (!q)