summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2019-10-24 12:44:13 +0300
committerPanu Matilainen <pmatilai@redhat.com>2019-11-18 12:46:29 +0200
commit6ea40db35224e6c8a66b331f763abb49f321a037 (patch)
tree789d29d4d4f2549f03fb53d732e52d81db65f49e
parent8e70d0ae413a99fedf0d9b1a8469e641a1fb85d5 (diff)
downloadrpm-6ea40db35224e6c8a66b331f763abb49f321a037.tar.gz
Honor RPMSENSE_MISSINGOK on src.rpm rpmlib() dependencies too
(cherry picked from commit b9ee269fba54a4a7c91e594f907eef3c8c6c76c0)
-rw-r--r--lib/psm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/psm.c b/lib/psm.c
index cb1ebf73b..cde5dc6c4 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -140,6 +140,8 @@ static int rpmlibDeps(Header h)
while (rpmdsNext(req) >= 0) {
if (!(rpmdsFlags(req) & RPMSENSE_RPMLIB))
continue;
+ if (rpmdsFlags(req) & RPMSENSE_MISSINGOK)
+ continue;
if (rpmdsSearch(rpmlib, req) < 0) {
if (!nvr) {
nvr = headerGetAsString(h, RPMTAG_NEVRA);