lib/depends.c: adjust provides check for versioned paths
(cherry picked from commit fb5f3e4c88
)
This commit is contained in:
parent
9889b7db55
commit
a15d548dec
@ -1168,8 +1168,7 @@ static int unsatisfiedDepend(rpmTransactionSet ts,
|
|||||||
|
|
||||||
/* XXX only the installer does not have the database open here. */
|
/* XXX only the installer does not have the database open here. */
|
||||||
if (ts->rpmdb != NULL) {
|
if (ts->rpmdb != NULL) {
|
||||||
if (*keyName == '/') {
|
if (*keyName == '/' && (keyFlags & RPMSENSE_SENSEMASK) == 0) {
|
||||||
/* keyFlags better be 0! */
|
|
||||||
|
|
||||||
mi = rpmdbInitIterator(ts->rpmdb, RPMTAG_BASENAMES, keyName, 0);
|
mi = rpmdbInitIterator(ts->rpmdb, RPMTAG_BASENAMES, keyName, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user