From b2b84cc052cea78d17fab7ae4b27a6d71402a748 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Wed, 12 Apr 2017 05:20:00 -0400 Subject: [PATCH] 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. --- build.sbt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 4289788e6..3ece5978a 100644 --- a/build.sbt +++ b/build.sbt @@ -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