From 72a76098324a079421b768f32e4665a81753d88a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 12 Jan 2013 17:44:52 +0100 Subject: [PATCH] Ignore SRPMS with no builds when resolving fist level dependencies, mainly for secondary archs --- src/distromatic.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/distromatic.c b/src/distromatic.c index a336901..9ced6ae 100644 --- a/src/distromatic.c +++ b/src/distromatic.c @@ -619,6 +619,10 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx) logmsg(LOG_DEBUG,"resolveFirstLevelSourceDependencies - sources"); while (currsourceheader) { + if (!currsourceheader->firstchild[archidx]) { // ignore SRPMs with no builds + currsourceheader = currsourceheader->next; + continue; + } scanheader = ct->headerlist[archidx]; currsourceheader->requirelist = NULL; // currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);