gather_dnf: don't add srpm deps if --nodeps is set
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
This commit is contained in:
parent
14784847d4
commit
dfef1837ea
@ -501,6 +501,8 @@ class Gather(GatherBase):
|
||||
def add_source_package_deps(self):
|
||||
added = set()
|
||||
|
||||
if not self.opts.resolve_deps:
|
||||
return added
|
||||
if not self.opts.selfhosting:
|
||||
return added
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user