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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue