projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8acc506
)
package_rpm: fix move wrong generated rpm name - closes #5078
author
Lynn Lin
<lynn.lin@avocent.com>
Tue, 19 May 2009 11:18:20 +0000
(13:18 +0200)
committer
Marcin Juszkiewicz
<hrw@openembedded.org>
Tue, 19 May 2009 11:18:28 +0000
(13:18 +0200)
classes/package_rpm.bbclass
patch
|
blob
|
history
diff --git
a/classes/package_rpm.bbclass
b/classes/package_rpm.bbclass
index
71fa760
..
0cebdea
100644
(file)
--- a/
classes/package_rpm.bbclass
+++ b/
classes/package_rpm.bbclass
@@
-136,7
+136,7
@@
python write_specfile() {
bb.build.exec_func('BUILDSPEC', d)
# move the rpm into the pkgoutdir
- rpm = bb.data.expand('${RPMBUILDPATH}/RPMS/${TARGET_ARCH}/${PKG}-${RPMPV}-${PR}.${TARGET_ARCH}.rpm', d)
+ rpm = bb.data.expand('${RPMBUILDPATH}/RPMS/${TARGET_ARCH}/${PKG}-${RPMPV}-${PR}
${DISTRO_PR}
.${TARGET_ARCH}.rpm', d)
outrpm = bb.data.expand('${DEPLOY_DIR_RPM}/${PACKAGE_ARCH}/${PKG}-${RPMPV}-${PR}.${TARGET_ARCH}.rpm', d)
bb.movefile(rpm, outrpm)
}