summaryrefslogtreecommitdiff
path: root/build/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/files.c')
-rw-r--r--build/files.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index 2bf3252cc..befa248fd 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1295,7 +1295,12 @@ int processSourceFiles(Spec spec)
sourceFiles = newStringBuf();
- /* XXX This is where the source header used to be initialized. */
+ /* XXX
+ * XXX This is where the source header for noarch packages needs
+ * XXX to be initialized.
+ */
+ if (spec->sourceHeader == NULL)
+ initSourceHeader(spec);
/* Construct the file list and source entries */
appendLineStringBuf(sourceFiles, spec->specFile);