From 3897671190615b9edd88a67a55c8a6d7cae63f12 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Sep 10 2015 13:38:09 +0000 Subject: 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)` --- diff --git a/pungi/gather.py b/pungi/gather.py index bcc2861..2e5048c 100644 --- a/pungi/gather.py +++ b/pungi/gather.py @@ -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