summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynn Lin <lynn.lin@avocent.com>2009-05-19 13:18:20 +0200
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-05-19 13:18:28 +0200
commita5f902c677e9f919a1170a8355e158499fb0a27e (patch)
treec51e6b9e6dcdc497868d602951039a845d1f57e6
parent8acc5061cc4cc9aff6a6dd967f453ba37fda16b8 (diff)
package_rpm: fix move wrong generated rpm name - closes #5078
-rw-r--r--classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass
index 71fa76010f..0cebdea244 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)
}