Don't pull conditional deps in when --nodeps is used.

This commit is contained in:
Daniel Mach 2013-03-22 10:12:19 -04:00
parent 6a68c139c8
commit c363b7242a
1 changed files with 5 additions and 3 deletions

View File

@ -714,9 +714,11 @@ class Pungi(pypungi.PungiBase):
pass_num += 1
self.logger.info("Pass #%s" % pass_num)
for txmbr in self.ayum.tsInfo:
if not txmbr.po in self.po_list:
self.add_package(txmbr.po)
if self.is_resolve_deps:
# get conditional deps (defined in comps)
for txmbr in self.ayum.tsInfo:
if not txmbr.po in self.po_list:
self.add_package(txmbr.po)
# resolve deps
if self.is_resolve_deps: