- processSourceFiles() is only ever called through buildSpec(),
and if you throw unparsed spec into that you're pretty much screwed
anyway. rpmbuild always called initSourceHeader() anyway, and now
its ensured for all successfully parsed specs.
}
sourceFiles = newStringBuf();
- /* XXX
- * XXX This is where the source header for noarch packages needs
- * XXX to be initialized.
- */
- if (spec->sourceHeader == NULL)
- initSourceHeader(spec);
-
genSourceRpmName(spec);
/* Construct the file list and source entries */
appendLineStringBuf(sourceFiles, spec->specFile);