summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 311c0a8883..ad5c6a13ad 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -462,12 +462,12 @@ python do_package_rpm () {
462 targetsys = bb.data.getVar('TARGET_SYS', d, True) 462 targetsys = bb.data.getVar('TARGET_SYS', d, True)
463 pkgwritedir = bb.data.expand('${PKGWRITEDIRRPM}/${PACKAGE_ARCH}', d) 463 pkgwritedir = bb.data.expand('${PKGWRITEDIRRPM}/${PACKAGE_ARCH}', d)
464 pkgarch = bb.data.expand('${PACKAGE_ARCH}', d) 464 pkgarch = bb.data.expand('${PACKAGE_ARCH}', d)
465 bb.mkdirhier(pkgwritedir) 465 bb.mkdirhier(pkgwritedir)
466 os.chmod(pkgwritedir, 0755) 466 os.chmod(pkgwritedir, 0755)
467 467
468 cmd = rpmbuild 468 cmd = rpmbuild
469 cmd = cmd + " --nodeps --short-circuit --target " + pkgarch + " --buildroot " + pkgd 469 cmd = cmd + " --nodeps --short-circuit --target " + pkgarch + " --buildroot " + pkgd
470 cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + pkgwritedir + "'" 470 cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + pkgwritedir + "'"
471 cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'" 471 cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'"
472 cmd = cmd + " -bb " + outspecfile 472 cmd = cmd + " -bb " + outspecfile
473 473