diff options
author | jbj <devnull@localhost> | 1999-04-21 15:32:23 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-04-21 15:32:23 +0000 |
commit | 65cc651fc4d85a5c4ebc0469f0757d7f083db3cc (patch) | |
tree | ec5cbd2891b4c83397dbc435bd21bd6a6e901b49 /build | |
parent | a0d3acc8a3e386940e153dcd7ddf1b110820dd96 (diff) | |
download | rpm-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.c | 7 |
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); |