diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index af64ef62c5..21ada348aa 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -670,7 +670,7 @@ python do_package_rpm () { | |||
670 | cmd = rpmbuild | 670 | cmd = rpmbuild |
671 | cmd = cmd + " --noclean --nodeps --short-circuit --target " + pkgarch + " --buildroot " + pkgd | 671 | cmd = cmd + " --noclean --nodeps --short-circuit --target " + pkgarch + " --buildroot " + pkgd |
672 | cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + pkgwritedir + "'" | 672 | cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + pkgwritedir + "'" |
673 | cmd = cmd + " --define '_builddir " + d.getVar('S') + "'" | 673 | cmd = cmd + " --define '_builddir " + d.getVar('B') + "'" |
674 | cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'" | 674 | cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'" |
675 | cmd = cmd + " --define '_use_internal_dependency_generator 0'" | 675 | cmd = cmd + " --define '_use_internal_dependency_generator 0'" |
676 | cmd = cmd + " --define '_binaries_in_noarch_packages_terminate_build 0'" | 676 | cmd = cmd + " --define '_binaries_in_noarch_packages_terminate_build 0'" |