]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packaging
authorMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 3 Oct 2008 21:32:46 +0000 (21:32 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 3 Oct 2008 21:32:46 +0000 (21:32 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5413 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/package_rpm.bbclass

index 15835bf1e4d4105236e879c5fbd3ca1118ada920..3defcdde70078e4544a6f7cf63e83e6be5980243 100644 (file)
@@ -207,6 +207,7 @@ python do_package_rpm () {
                # Save the value of RPMBUILD expanded into the new dictonary so any 
                # changes in the compoents that make up workdir don't break packaging
                bb.data.setVar('RPMBUILD', bb.data.getVar("RPMBUILD", d, True), localdata)
+               bb.data.setVar('RPMBUILDPATH', bb.data.getVar("RPMBUILDPATH", d, True), localdata)
                bb.build.exec_func('write_specfile', localdata)
                bb.utils.unlockfile(lf)
 }