summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-04-21 15:32:23 +0000
committerjbj <devnull@localhost>1999-04-21 15:32:23 +0000
commit65cc651fc4d85a5c4ebc0469f0757d7f083db3cc (patch)
treeec5cbd2891b4c83397dbc435bd21bd6a6e901b49 /build
parenta0d3acc8a3e386940e153dcd7ddf1b110820dd96 (diff)
downloadrpm-65cc651fc4d85a5c4ebc0469f0757d7f083db3cc.tar.gz
rpm-65cc651fc4d85a5c4ebc0469f0757d7f083db3cc.tar.bz2
rpm-65cc651fc4d85a5c4ebc0469f0757d7f083db3cc.zip
fix: noarch header gets initialized differently.
CVS patchset: 3025 CVS date: 1999/04/21 15:32:23
Diffstat (limited to 'build')
-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);