diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 13:39:04 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 13:51:42 +0300 |
commit | 68beb82e9f1c4e828c4af460e68513090a3cd171 (patch) | |
tree | 21df80c7ade668c61276c20768000be57862a05d | |
parent | aafd1d217d46848f1e19c9527e9e9f98bb30bda8 (diff) | |
download | librpm-tizen-68beb82e9f1c4e828c4af460e68513090a3cd171.tar.gz librpm-tizen-68beb82e9f1c4e828c4af460e68513090a3cd171.tar.bz2 librpm-tizen-68beb82e9f1c4e828c4af460e68513090a3cd171.zip |
Eliminate ancient leftover initSourceHeader() call
- 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.
-rw-r--r-- | build/files.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/build/files.c b/build/files.c index 11efcbb37..16d2cee69 100644 --- a/build/files.c +++ b/build/files.c @@ -2065,13 +2065,6 @@ int processSourceFiles(rpmSpec spec) } 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); |