Merge #60 `fix conditional deps (this can't be easily covered with unit tests; tested on huge package set using various in-place YUM hacks)`

This commit is contained in:
Daniel Mach 2015-09-10 09:38:09 -04:00
commit 3897671190
1 changed files with 2 additions and 0 deletions

View File

@ -833,6 +833,8 @@ class Pungi(PungiBase):
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
if not txmbr.isDep:
continue
self.add_package(txmbr.po)
# resolve deps