bomtool: only use query dependencies for deriving the SBOM document name
ci/woodpecker/push/woodpecker Pipeline was successful Details

master
Ariadne Conill 2024-08-06 15:12:27 -07:00
parent eb7c2385d0
commit 9aaff5148c
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ sbom_name(pkgconf_pkg_t *world)
pkgconf_dependency_t *dep = node->data;
pkgconf_pkg_t *match = dep->match;
if ((dep->flags & PKGCONF_PKG_DEPF_QUERY) != PKGCONF_PKG_DEPF_QUERY)
continue;
if (!dep->match)
continue;