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.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 27a2bb479a..9b634e583b 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -693,7 +693,6 @@ python do_package_rpm () {
693 d.setVar('RPM_PKGWRITEDIR', pkgwritedir) 693 d.setVar('RPM_PKGWRITEDIR', pkgwritedir)
694 bb.debug(1, 'PKGWRITEDIR: %s' % d.getVar('RPM_PKGWRITEDIR')) 694 bb.debug(1, 'PKGWRITEDIR: %s' % d.getVar('RPM_PKGWRITEDIR'))
695 pkgarch = d.expand('${PACKAGE_ARCH_EXTEND}${HOST_VENDOR}-${HOST_OS}') 695 pkgarch = d.expand('${PACKAGE_ARCH_EXTEND}${HOST_VENDOR}-${HOST_OS}')
696 magicfile = d.expand('${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc')
697 bb.utils.mkdirhier(pkgwritedir) 696 bb.utils.mkdirhier(pkgwritedir)
698 os.chmod(pkgwritedir, 0o755) 697 os.chmod(pkgwritedir, 0o755)
699 698
@@ -711,7 +710,6 @@ python do_package_rpm () {
711 cmd = cmd + " --define '__find_provides %{nil}'" 710 cmd = cmd + " --define '__find_provides %{nil}'"
712 cmd = cmd + " --define '_unpackaged_files_terminate_build 0'" 711 cmd = cmd + " --define '_unpackaged_files_terminate_build 0'"
713 cmd = cmd + " --define 'debug_package %{nil}'" 712 cmd = cmd + " --define 'debug_package %{nil}'"
714 cmd = cmd + " --define '_rpmfc_magic_path " + magicfile + "'"
715 cmd = cmd + " --define '_tmppath " + workdir + "'" 713 cmd = cmd + " --define '_tmppath " + workdir + "'"
716 if d.getVarFlag('ARCHIVER_MODE', 'srpm') == '1' and bb.data.inherits_class('archiver', d): 714 if d.getVarFlag('ARCHIVER_MODE', 'srpm') == '1' and bb.data.inherits_class('archiver', d):
717 cmd = cmd + " --define '_sourcedir " + d.getVar('ARCHIVER_OUTDIR') + "'" 715 cmd = cmd + " --define '_sourcedir " + d.getVar('ARCHIVER_OUTDIR') + "'"