From e6566322bd2856e14fbabd78a6307f6575ba3d8c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 25 Aug 2010 15:40:34 +0100 Subject: meta/classes: Fix whitespace mismatch and broken functions Signed-off-by: Richard Purdie --- meta/classes/package_rpm.bbclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/classes/package_rpm.bbclass') 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 -- cgit v1.2.3