summaryrefslogtreecommitdiff
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-25 15:40:34 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-31 12:02:24 +0100
commite6566322bd2856e14fbabd78a6307f6575ba3d8c (patch)
tree027ed4b509ac7ba0a4a7f7b58ea9747455d78815 /meta/classes/package_rpm.bbclass
parente300aa048531a5a11c4c87848551e5541b5b3022 (diff)
downloadopenembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.tar.gz
openembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.tar.bz2
openembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.zip
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.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 () {
targetsys = bb.data.getVar('TARGET_SYS', d, True)
pkgwritedir = bb.data.expand('${PKGWRITEDIRRPM}/${PACKAGE_ARCH}', d)
pkgarch = bb.data.expand('${PACKAGE_ARCH}', d)
- bb.mkdirhier(pkgwritedir)
- os.chmod(pkgwritedir, 0755)
+ bb.mkdirhier(pkgwritedir)
+ os.chmod(pkgwritedir, 0755)
cmd = rpmbuild
- cmd = cmd + " --nodeps --short-circuit --target " + pkgarch + " --buildroot " + pkgd
- cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + pkgwritedir + "'"
+ cmd = cmd + " --nodeps --short-circuit --target " + pkgarch + " --buildroot " + pkgd
+ cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + pkgwritedir + "'"
cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'"
cmd = cmd + " -bb " + outspecfile