don't skip optional requirements

As for now we don't have way to say that it's mandatory if people want
to install featue which lib provides.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-01-30 18:46:53 +01:00
parent f273d7d8f3
commit 62bb483451

View file

@ -79,8 +79,6 @@ for f in files:
print_dep(md["name"], md["version"]) print_dep(md["name"], md["version"])
if args.requires or args.conflicts: if args.requires or args.conflicts:
for dep in md["dependencies"]: for dep in md["dependencies"]:
if dep["optional"]:
continue
if dep["kind"] is not None: if dep["kind"] is not None:
# kind: build -> build dependencies # kind: build -> build dependencies
# kind: dev -> test dependencies # kind: dev -> test dependencies