diff options
-rw-r--r-- | BuildManager/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildManager/build.py b/BuildManager/build.py index 3bf93c5..94157b3 100644 --- a/BuildManager/build.py +++ b/BuildManager/build.py @@ -198,9 +198,9 @@ def buildpkg(pkg, stage, unpack_dir, passtrough="", show_log=0, dryrun=0): tmppath = " --define '_tmppath %s/BUILDROOT'" % pkg.builddir else: tmppath = "" - cmd = "rpm -b%s --define '_topdir %s'%s %s %s 2>&1" % \ + cmd = "rpmbuild -b%s --define '_topdir %s'%s %s %s 2>&1" % \ (stagechar,pkg.builddir,tmppath,passtrough,pkg.spec) - logger.debug("rpm command: "+cmd) + logger.debug("rpmbuild command: "+cmd) if not dryrun: log = open(pkg.log, "w") pop = popen2.Popen3(cmd) |