From 2f0b9fc616200dd63f28282a43c85b6400b69a9a Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Oct 27 2013 19:44:09 +0000 Subject: Exclude srpms from conditional deps. --- diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 85fb296..2671dc3 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -756,6 +756,9 @@ class Pungi(pypungi.PungiBase): # get conditional deps (defined in comps) for txmbr in self.ayum.tsInfo: 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) # resolve deps