projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac75d49
)
Fix obsoletes-thinko in rpmdbProvides()
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 27 Jun 2012 08:08:25 +0000
(11:08 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 3 Oct 2012 07:05:02 +0000
(10:05 +0300)
- dbtag cannot possibly be on obsoletes here, we need to look at deptag
instead. This thinko in commit
5f1ec21518078e599b2499cf1ff852837ec33df7
renders that whole commit useless. Doh.
(cherry picked from commit
2cb102f35e995d4e1a6f4a14b09e30ecfe6c2513
)
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
de1a2f1
..
f30cc93
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-437,7
+437,7
@@
static int rpmdbProvides(rpmts ts, depCache dcache, rpmds dep)
mi = rpmtsPrunedIterator(ts, dbtag, Name, prune);
while ((h = rpmdbNextIterator(mi)) != NULL) {
int match;
- if (d
b
tag == RPMDBI_OBSOLETENAME) {
+ if (d
ep
tag == RPMDBI_OBSOLETENAME) {
match = rpmdsNVRMatchesDep(h, dep, _rpmds_nopromote);
} else {
match = rpmdsMatchesDep(h, rpmdbGetIteratorFileNum(mi), dep,