rpmSetTables() call in rpmbuild has been dying long enough by now

- The call to rpmSetTables() from rpmbuild is simply redundant for
  all I can tell, it gets called from inside rpmrc/config processing
  with the same values and the extra call here never changes anything
  as the tables have already been set through rpmReadConfigFiles()
  whether building for several targets or not.
This commit is contained in:
Panu Matilainen 2012-03-09 13:05:38 +02:00
parent b542b2fbc6
commit e76ba6f332
1 changed files with 0 additions and 4 deletions

View File

@ -367,10 +367,6 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
int justRm = ((buildAmount & ~(RPMBUILD_RMSOURCE|RPMBUILD_RMSPEC)) == 0);
rpmSpecFlags specFlags = spec_flags;
#ifndef DYING
rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS);
#endif
if (ba->buildRootOverride)
buildRootURL = rpmGenPath(NULL, ba->buildRootOverride, NULL);