From 65cc651fc4d85a5c4ebc0469f0757d7f083db3cc Mon Sep 17 00:00:00 2001 From: jbj Date: Wed, 21 Apr 1999 15:32:23 +0000 Subject: fix: noarch header gets initialized differently. CVS patchset: 3025 CVS date: 1999/04/21 15:32:23 --- build/files.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build') 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); -- cgit v1.2.3