Identation fixes

This commit is contained in:
Silvan Calarco 2021-03-12 17:34:15 +01:00
parent 10e111f785
commit 4891e1f7ec

View File

@ -712,16 +712,12 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
currsourceheader->requirelist = NULL;
// currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);
for (i = 0; i < currsourceheader->requirecount; i++) {
/* if (strncmp("a2ps",currsourceheader->name,4) == 0) {
fprintf(stderr,"a2ps:%s\n",currheader->require[i]->name);
}*/
if (strncmp("rpmlib(",currsourceheader->require[i]->name,7) &&
strncmp("debuginfo(build-id)",currsourceheader->require[i]->name,20)) {
provided=findOrCreateProvidedListEntry((struct providedList**) &ct->providedlist_idx[archidx],
currsourceheader->require[i]->name,1,archidx);
if (provided->numbuildproviders == 0) {
// check if require[i]->name requirement is met
if ((currsourceheader->require[i]->name)[0] == '/') {
/* requirement is a file, find who provides it */
file=findOrCreateFileTreeEntry(&ct->filetree[archidx],currsourceheader->require[i]->name, archidx);
@ -799,7 +795,6 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
fprintf(stderr,")\n");
}
}
}
}
currsourceheader->require[i]->resolved=provided;
@ -807,7 +802,6 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
currsourceheader->require[i]->resolved=NULL;
}
}
// sort required list by first provider's name
qsort((void *) &currsourceheader->require[0],
currsourceheader->requirecount,