提交 9060d64f 编写于 作者: D Daniel Imms

Add version and revision to rpm package

Part of #6587
上级 5ccd2ff4
......@@ -378,7 +378,7 @@ function buildRpmPackage(arch) {
return shell.task([
'mkdir -p ' + destination,
'HOME="$(pwd)/' + destination + '" fakeroot rpmbuild -bb ' + rpmBuildPath + '/SPECS/' + product.applicationName + '.spec --target=' + rpmArch,
'cp "' + rpmOut + '/$(ls ' + rpmOut + ')" ' + destination + '/' + product.applicationName+ '-' + rpmArch + '.rpm',
'cp "' + rpmOut + '/$(ls ' + rpmOut + ')" ' + destination + '/',
'createrepo ' + destination
]);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册