Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/v7.0.11] Make RPM license recognized #17223

Merged
merged 2 commits into from May 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion tools/packaging/packaging.psm1
Expand Up @@ -1183,7 +1183,6 @@ function Get-FpmArguments
"--maintainer", "PowerShell Team <PowerShellTeam@hotmail.com>",
"--vendor", "Microsoft Corporation",
"--url", "https://microsoft.com/powershell",
"--license", "MIT License",
"--description", $Description,
"--category", "shells",
"-t", $Type,
Expand All @@ -1193,6 +1192,10 @@ function Get-FpmArguments
if ($Type -eq "rpm") {
$Arguments += @("--rpm-dist", $Distribution)
$Arguments += @("--rpm-os", "linux")
$Arguments += @("--rpm-os", "linux")
$Arguments += @("--license", "MIT")
} else {
$Arguments += @("--license", "MIT License")
}

if ($Environment.IsMacOS) {
Expand Down