summaryrefslogtreecommitdiff
path: root/rpmbuild.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-08-25 13:33:15 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-08-25 13:33:15 +0300
commitaafd1d217d46848f1e19c9527e9e9f98bb30bda8 (patch)
treee51b93efba7d06362cf0dad9eec87568476945ec /rpmbuild.c
parentb6eb24ebc12921abca74ebe007f4d31276c0cc38 (diff)
downloadlibrpm-tizen-aafd1d217d46848f1e19c9527e9e9f98bb30bda8.tar.gz
librpm-tizen-aafd1d217d46848f1e19c9527e9e9f98bb30bda8.tar.bz2
librpm-tizen-aafd1d217d46848f1e19c9527e9e9f98bb30bda8.zip
Initialize source header from parseSpec() instead of caller(s)
- This is where it logically seems to belong to, after all parseSpec() similarly populates all other metadata of the binaries etc too. No point requiring callers to do this obscure extra call.
Diffstat (limited to 'rpmbuild.c')
-rw-r--r--rpmbuild.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rpmbuild.c b/rpmbuild.c
index 3afdd30d5..8fdf5a6ba 100644
--- a/rpmbuild.c
+++ b/rpmbuild.c
@@ -284,9 +284,6 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
goto exit;
}
- /* Assemble source header from parsed components */
- initSourceHeader(spec);
-
/* Check build prerequisites if necessary, unless disabled */
if (!justRm && !ba->noDeps && checkSpec(ts, spec->sourceHeader)) {
goto exit;