summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-10-03 21:32:46 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-10-03 21:32:46 +0000
commit690a699ec17d2ee9d2b498e6b5848afd35a43d94 (patch)
tree1d6be298c9f75b28b1c33333bf5cce31d86215b8 /meta/classes/package_rpm.bbclass
parente71b7011d4ec25a50e7db94e4af79514e51fbd4e (diff)
downloadpoky-690a699ec17d2ee9d2b498e6b5848afd35a43d94.tar.gz
package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5413 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-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}