This commit is contained in:
committed by
Git OBS Bridge
parent
090779a064
commit
8e55a85d14
14
filequery.diff
Normal file
14
filequery.diff
Normal file
@@ -0,0 +1,14 @@
|
||||
Do not check package provides if there is no slash in the file path.
|
||||
bugzilla [#32467], rh#125516.
|
||||
|
||||
--- ./lib/query.c.orig 2004-10-26 23:29:28.000000000 +0000
|
||||
+++ ./lib/query.c 2005-12-16 18:22:19.000000000 +0000
|
||||
@@ -614,7 +637,7 @@ int rpmQueryVerify(QVA_t qva, rpmts ts,
|
||||
if (qva->qva_mi == NULL) {
|
||||
if (access(fn, F_OK) != 0)
|
||||
myerrno = errno;
|
||||
- else if (!provides_checked)
|
||||
+ else if (!provides_checked && strchr(fn, '/'))
|
||||
qva->qva_mi = rpmtsInitIterator(ts, RPMTAG_PROVIDENAME, fn, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user