diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 13:33:15 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 13:33:15 +0300 |
commit | aafd1d217d46848f1e19c9527e9e9f98bb30bda8 (patch) | |
tree | e51b93efba7d06362cf0dad9eec87568476945ec /rpmbuild.c | |
parent | b6eb24ebc12921abca74ebe007f4d31276c0cc38 (diff) | |
download | librpm-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.c | 3 |
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; |