Use license in product.json for rpm

Fixes #17133
This commit is contained in:
Daniel Imms
2016-12-13 21:10:29 -08:00
parent 20a2252411
commit b69e40dd8a
4 changed files with 4 additions and 2 deletions

View File

@@ -116,6 +116,7 @@ function prepareRpmPackage(arch) {
.pipe(replace('@@VERSION@@', packageJson.version))
.pipe(replace('@@RELEASE@@', linuxPackageRevision))
.pipe(replace('@@ARCHITECTURE@@', rpmArch))
.pipe(replace('@@LICENSE@@', product.licenseName))
.pipe(replace('@@QUALITY@@', product.quality || '@@QUALITY@@'))
.pipe(replace('@@UPDATEURL@@', product.updateUrl || '@@UPDATEURL@@'))
.pipe(replace('@@DEPENDENCIES@@', rpmDependencies[rpmArch].join(', ')))