Fix obsoletes-thinko in rpmdbProvides()
- dbtag cannot possibly be on obsoletes here, we need to look at deptag
instead. This thinko in commit 5f1ec21518
renders that whole commit useless. Doh.
This commit is contained in:
parent
5322c3bd4b
commit
2cb102f35e
|
@ -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 (dbtag == RPMDBI_OBSOLETENAME) {
|
||||
if (deptag == RPMDBI_OBSOLETENAME) {
|
||||
match = rpmdsNVRMatchesDep(h, dep, _rpmds_nopromote);
|
||||
} else {
|
||||
match = rpmdsMatchesDep(h, rpmdbGetIteratorFileNum(mi), dep,
|
||||
|
|
Loading…
Reference in New Issue