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(', ')))

View file

@ -2,7 +2,7 @@
"name": "code-oss-dev",
"version": "1.9.0",
"electronVersion": "1.4.6",
"distro": "8c3e97e3425cc9814496472ab73e076de2ba99ee",
"distro": "2eecc8b68318fba1fc5b62930287914ac9225e8a",
"author": {
"name": "Microsoft Corporation"
},

View file

@ -4,6 +4,7 @@
"applicationName": "code-oss",
"dataFolderName": ".vscode-oss",
"win32MutexName": "vscodeoss",
"licenseName": "MIT",
"licenseUrl": "https://github.com/Microsoft/vscode/blob/master/LICENSE.txt",
"win32DirName": "Microsoft Code OSS",
"win32NameVersion": "Microsoft Code OSS",

View file

@ -5,7 +5,7 @@ Summary: Code editing. Redefined.
Group: Development/Tools
Vendor: Microsoft Corporation
Packager: Visual Studio Code Team <vscode-linux@microsoft.com>
License: Multiple, see https://code.visualstudio.com/license
License: @@LICENSE@@
URL: https://code.visualstudio.com/
Icon: @@NAME@@.xpm
Requires: @@DEPENDENCIES@@