diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2019-10-24 12:44:13 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2020-03-26 11:57:58 +0200 |
commit | 2a516fb983e260328db31cf73088976b7cf84eed (patch) | |
tree | 9b93b0f0edb74773fd51dd85af1c08fd699864a4 | |
parent | b2820380109375fb0a65e5e6bd0db78b91481dc5 (diff) | |
download | rpm-2a516fb983e260328db31cf73088976b7cf84eed.tar.gz |
Honor RPMSENSE_MISSINGOK on src.rpm rpmlib() dependencies too
(cherry picked from commit b9ee269fba54a4a7c91e594f907eef3c8c6c76c0)
-rw-r--r-- | lib/psm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |