]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- fix cleandeps bug with supplemented userinstalled packages
authorMichael Schroeder <mls@suse.de>
Thu, 1 Mar 2012 14:21:11 +0000 (15:21 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 1 Mar 2012 14:22:39 +0000 (15:22 +0100)
src/rules.c

index c09ae0b7553b667b61d63900e0b7e90108e0c803..361af8372153310c40fa5f5861dc637f5b8e3cb4 100644 (file)
@@ -2312,6 +2312,8 @@ static void solver_createcleandepsmap(Solver *solv)
                continue;
              if (!MAPTST(&im, ip))
                continue;
+             if (MAPTST(&userinstalled, ip - installed->start))
+               continue;
              supp = s->repo->idarraydata + s->supplements;
              while ((sup = *supp++) != 0)
                if (dep_possible(solv, sup, &im))