From 15811107bb563473cae4ac450035fe36ed2aa01f Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 10 Sep 2015 09:38:09 -0400 Subject: [PATCH] gather: Check if txmbr.isDep is set for conditional deps. --- pungi/gather.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pungi/gather.py b/pungi/gather.py index bcc28616..2e5048c8 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