Skip to content

Commit

Permalink
Use SHA256 for RPM digest (dotnet#14269)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosavljevic authored Dec 8, 2023
1 parent 825c087 commit d557aa7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ private string BuildCmdParameters(ConfigJson configJson, string package_version)
// -a : architecture --JSON
// -d : is for all dependent packages. This can be used multiple times to specify the dependencies of the package. --JSON
// --rpm-os : the operating system to target this rpm --Static
// --rpm-digest : rpm digest algorithm --Static
// --rpm-changelog : the changelog from FILEPATH contents --ARG
// --rpm-summary : it is the RPM summary that shows in the Title --JSON
// --description : it is the description for the package --JSON
Expand Down Expand Up @@ -211,6 +212,7 @@ private string BuildCmdParameters(ConfigJson configJson, string package_version)
}

parameters.Add("--rpm-os linux");
parameters.Add("--rpm-digest sha256");
parameters.Add(string.Concat("--rpm-changelog ", EscapeArg(Path.Combine(InputDir, "templates", "changelog")))); // Changelog File
parameters.Add(string.Concat("--rpm-summary ", EscapeArg(configJson.Short_Description)));
parameters.Add(string.Concat("--description ", EscapeArg(configJson.Long_Description)));
Expand Down

0 comments on commit d557aa7

Please sign in to comment.