- don't show vendor/arch changes for packages that were mapped to "erased"
authorMichael Schroeder <mls@suse.de>
Tue, 20 Mar 2012 10:38:47 +0000 (11:38 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 20 Mar 2012 10:38:47 +0000 (11:38 +0100)
src/transaction.c

index e1c0d2f..816e125 100644 (file)
@@ -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)