gather_dnf: don't add srpm deps if --nodeps is set

Signed-off-by: Lubos Kocman <lkocman@redhat.com>
This commit is contained in:
Lubos Kocman 2016-04-25 16:52:35 +02:00 committed by Lubomír Sedlář
parent 14784847d4
commit dfef1837ea

View File

@ -501,6 +501,8 @@ class Gather(GatherBase):
def add_source_package_deps(self): def add_source_package_deps(self):
added = set() added = set()
if not self.opts.resolve_deps:
return added
if not self.opts.selfhosting: if not self.opts.selfhosting:
return added return added