Chinaunix首页 | 论坛 | 博客
  • 博客访问: 650846
  • 博文数量: 90
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 2018
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-03 13:09
文章分类

全部博文(90)

文章存档

2010年(7)

2009年(23)

2008年(60)

我的朋友

分类: LINUX

2009-05-20 11:30:44

 
summaryrefslogtreecommitdiff
  
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)
}
阅读(1935) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-05-22 14:15:02

好服月租型IT服务台登录中国,诚邀阁下莅临体验! 月租型ITSM软件,注册即可使用! 详情请登录官方网站:http://www.servicezon.com