mirror of https://github.com/sbt/sbt.git
Exclude sbtn from RPM file
This commit is contained in:
parent
e880829762
commit
8559b0ece7
|
|
@ -203,6 +203,14 @@ val root = (project in file(".")).
|
|||
})
|
||||
else stable
|
||||
},
|
||||
// remove sbtn from RPM because it complains about it being noarch
|
||||
linuxPackageMappings in Rpm := {
|
||||
val orig = (linuxPackageMappings in Rpm).value
|
||||
val nativeMappings = sbtnJarsMappings.value
|
||||
orig.map(o => o.copy(mappings = o.mappings.toList filterNot {
|
||||
case (x, p) => p.contains("sbtn-x86_64")
|
||||
}))
|
||||
},
|
||||
rpmVendor := "lightbend",
|
||||
rpmUrl := Some("http://github.com/sbt/sbt-launcher-package"),
|
||||
rpmLicense := Some("BSD"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue