Ignore SRPMS with no builds when resolving fist level dependencies, mainly for secondary archs
This commit is contained in:
parent
5bc95d28e1
commit
72a7609832
@ -619,6 +619,10 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
|
|||||||
|
|
||||||
logmsg(LOG_DEBUG,"resolveFirstLevelSourceDependencies - sources");
|
logmsg(LOG_DEBUG,"resolveFirstLevelSourceDependencies - sources");
|
||||||
while (currsourceheader) {
|
while (currsourceheader) {
|
||||||
|
if (!currsourceheader->firstchild[archidx]) { // ignore SRPMs with no builds
|
||||||
|
currsourceheader = currsourceheader->next;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
scanheader = ct->headerlist[archidx];
|
scanheader = ct->headerlist[archidx];
|
||||||
currsourceheader->requirelist = NULL;
|
currsourceheader->requirelist = NULL;
|
||||||
// currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);
|
// currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);
|
||||||
|
Loading…
Reference in New Issue
Block a user