]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- 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 e1c0d2f091877b589d3b76cc4d1bb8210555e75c..816e1254bec1bb35260fba6825bded238324144c 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)