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:
commit
3897671190
@ -833,6 +833,8 @@ class Pungi(PungiBase):
|
|||||||
if not is_package(txmbr.po):
|
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
|
# we don't want sources which can be pulled in, because 'src' arch is part of self.valid_arches
|
||||||
continue
|
continue
|
||||||
|
if not txmbr.isDep:
|
||||||
|
continue
|
||||||
self.add_package(txmbr.po)
|
self.add_package(txmbr.po)
|
||||||
|
|
||||||
# resolve deps
|
# resolve deps
|
||||||
|
Loading…
Reference in New Issue
Block a user