Exclude srpms from conditional deps.
This commit is contained in:
parent
754a1bb59b
commit
2f0b9fc616
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user