lib/depends.c: adjust provides check for versioned paths

This commit is contained in:
Alexey Tourbin 2008-05-12 22:23:45 +04:00
parent 3dff3cd285
commit fb5f3e4c88

View File

@ -1221,8 +1221,7 @@ static int unsatisfiedDepend(rpmTransactionSet ts,
/* XXX only the installer does not have the database open here. */
if (ts->rpmdb != NULL) {
if (*keyName == '/') {
/* keyFlags better be 0! */
if (*keyName == '/' && (keyFlags & RPMSENSE_SENSEMASK) == 0) {
mi = rpmdbInitIterator(ts->rpmdb, RPMTAG_BASENAMES, keyName, 0);