Remove RPM requirements

Fixes #151
Ref #144, #62

We are removing RPM requirements for JDK because it's not possible to reliably specify JDK 1.8 across different distros.
This commit is contained in:
Eugene Yokota 2017-04-12 05:20:00 -04:00
parent 4043810dda
commit b2b84cc052
1 changed files with 5 additions and 1 deletions

View File

@ -98,7 +98,11 @@ val root = (project in file(".")).
rpmVendor := "lightbend",
rpmUrl := Some("http://github.com/sbt/sbt-launcher-package"),
rpmLicense := Some("BSD"),
rpmRequirements := Seq("java-1.8.0-devel"),
// This is intentionally empty. java-devel could bring in JDK 9-ea on Fedora,
// and java-1.8.0-devel doesn't work on CentOS 6 and 7.
// https://github.com/sbt/sbt-launcher-package/issues/151
// https://github.com/elastic/logstash/issues/6275#issuecomment-261359933
rpmRequirements := Seq(),
rpmProvides := Seq("sbt"),
// WINDOWS SPECIFIC