Fix the dashes in license names
For the Debian packages, the license names should contain a dash, but
not for the RPM packages. This commit fixes this.
@@ -248,9 +248,9 @@ Closure commonDebConfig(boolean oss) {
configure(commonPackageConfig('deb', oss))
if (oss) {
- license 'ASL 2.0'
+ license 'ASL-2.0'
} else {
- license 'Elastic License'
+ license 'Elastic-License'
}
version = project.version
@@ -282,9 +282,9 @@ Closure commonRpmConfig(boolean oss) {
configure(commonPackageConfig('rpm', oss))
if (oss) {
- license 'ASL-2.0'
+ license 'ASL 2.0'
} else {
- license 'Elastic-License'
+ license 'Elastic License'
}
packageGroup 'Application/Internet'
