From 2f0b9fc616200dd63f28282a43c85b6400b69a9a Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 20 Jun 2013 06:45:42 -0400 Subject: [PATCH] Exclude srpms from conditional deps. --- src/pypungi/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 85fb2960..2671dc3a 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