projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee5a3aa
)
- make dup rules work when system repo is not first [#581276]
author
Michael Schroeder
<mls@suse.de>
Fri, 19 Feb 2010 16:28:24 +0000
(17:28 +0100)
committer
Michael Schroeder
<mls@suse.de>
Fri, 19 Feb 2010 16:28:24 +0000
(17:28 +0100)
src/rules.c
patch
|
blob
|
history
diff --git
a/src/rules.c
b/src/rules.c
index
0acd9de
..
4903d3b
100644
(file)
--- a/
src/rules.c
+++ b/
src/rules.c
@@
-1241,12
+1241,12
@@
solver_addduprules(Solver *solv, Map *addedmap)
{
Id ip, ipp;
/* is installed identical to a good one? */
- FOR_PROVIDES(ip, ipp, s->name)
+ FOR_PROVIDES(ip, ipp,
p
s->name)
{
Solvable *is = pool->solvables + ip;
if (!MAPTST(&solv->dupmap, ip))
continue;
- if (is->evr ==
s->evr && solvable_identical(
s, is))
+ if (is->evr ==
ps->evr && solvable_identical(p
s, is))
break;
}
if (!ip)