author | Lynn Lin |
2009-05-19 11:18:20 |
---|---|---|
committer | Marcin Juszkiewicz |
2009-05-19 11:18:28 |
commit | a5f902c677e9f919a1170a8355e158499fb0a27e (patch) | |
tree | c51e6b9e6dcdc497868d602951039a845d1f57e6 | |
parent | 8acc5061cc4cc9aff6a6dd967f453ba37fda16b8 (diff) |
package_rpm: fix move wrong generated rpm name - closes #5078
Diffstat
-rw-r--r-- | classes/package_rpm.bbclass | 2 |
|
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass
index 71fa760..0cebdea 100644 --- 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)
} |