From bba8c1dd958f27a4e51107347aa49f9cce10c36f Mon Sep 17 00:00:00 2001 From: Mikhail Yakshin Date: Mon, 5 Feb 2018 00:33:50 +0000 Subject: [PATCH] Added control.tar.gz workaround for older Debians/Ubuntu/BinTray --- build.sbt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.sbt b/build.sbt index 1fac0e7ff..0d1a057d4 100644 --- a/build.sbt +++ b/build.sbt @@ -120,6 +120,14 @@ lazy val compiler = crossProject.in(file(".")). // implementations create per-package virtual user that we won't use anyway maintainerScripts in Debian := Map(), + // Work around new Debian defaults and sbt-native-packager defaults, which + // build .deb packages that appear to be incompatible with older Debian/Ubuntu's + // dpkg and are not accepted by BinTray. + // + // For more information, see + // https://github.com/sbt/sbt-native-packager/issues/1067 + debianNativeBuildOptions in Debian := Seq("-Zgzip", "-z3"), + packageSummary in Linux := s"compiler to generate binary data parsers in $TARGET_LANGS", packageSummary in Windows := "Kaitai Struct compiler", packageDescription in Linux :=