summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package_rpm.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 15835bf1e4..3defcdde70 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -207,6 +207,7 @@ python do_package_rpm () {
207 # Save the value of RPMBUILD expanded into the new dictonary so any 207 # Save the value of RPMBUILD expanded into the new dictonary so any
208 # changes in the compoents that make up workdir don't break packaging 208 # changes in the compoents that make up workdir don't break packaging
209 bb.data.setVar('RPMBUILD', bb.data.getVar("RPMBUILD", d, True), localdata) 209 bb.data.setVar('RPMBUILD', bb.data.getVar("RPMBUILD", d, True), localdata)
210 bb.data.setVar('RPMBUILDPATH', bb.data.getVar("RPMBUILDPATH", d, True), localdata)
210 bb.build.exec_func('write_specfile', localdata) 211 bb.build.exec_func('write_specfile', localdata)
211 bb.utils.unlockfile(lf) 212 bb.utils.unlockfile(lf)
212} 213}