diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-25 15:40:34 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-31 12:02:24 +0100 |
commit | e6566322bd2856e14fbabd78a6307f6575ba3d8c (patch) | |
tree | 027ed4b509ac7ba0a4a7f7b58ea9747455d78815 /meta/classes/package_rpm.bbclass | |
parent | e300aa048531a5a11c4c87848551e5541b5b3022 (diff) | |
download | poky-e6566322bd2856e14fbabd78a6307f6575ba3d8c.tar.gz |
meta/classes: Fix whitespace mismatch and broken functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 8 |
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 | ||