Exclude srpms from conditional deps.

This commit is contained in:
Daniel Mach 2013-06-20 06:45:42 -04:00
parent 754a1bb59b
commit 2f0b9fc616

View File

@ -756,6 +756,9 @@ class Pungi(pypungi.PungiBase):
# get conditional deps (defined in comps) # get conditional deps (defined in comps)
for txmbr in self.ayum.tsInfo: for txmbr in self.ayum.tsInfo:
if not txmbr.po in self.po_list: if not txmbr.po in self.po_list:
if not is_package(txmbr.po):
# we don't want sources which can be pulled in, because 'src' arch is part of self.valid_arches
continue
self.add_package(txmbr.po) self.add_package(txmbr.po)
# resolve deps # resolve deps