Skip to content

Commit

Permalink
Set RPM compression to preserve backwards compatability
Browse files Browse the repository at this point in the history
Building RPM on newer systems defaults RPM compression is ZSTD which prevents older systems from installing rpm
  • Loading branch information
Naicisum committed Mar 10, 2020
1 parent 2b3ca92 commit 97f6263
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,9 @@ rpmUrl := Some("https://github.com/yahoo/cmak")
rpmLicense := Some("Apache")
rpmGroup := Some("cmak")

import RpmConstants._
maintainerScripts in Rpm := maintainerScriptsAppend((maintainerScripts in Rpm).value)(
Pre -> "%define _binary_payload w9.xzdio"
)

/* End RPM Settings */

0 comments on commit 97f6263

Please sign in to comment.