[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: d/control: Prefer default-jdk-headless if possible



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 961f67ed3947def1339a33336ebfab06de28b31e
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jul 23 05:33:24 2017 +0000

    d/control: Prefer default-jdk-headless if possible
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 debian/changelog | 1 +
 debian/control   | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ebe5f26..33f8bfd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -121,6 +121,7 @@ lintian (2.5.52) UNRELEASED; urgency=medium
       appstream-metadata check.
     + [NT] Apply patch from Sean Whitton to add a Build-Depends on dh-elpa
       for a test.
+    + [NT] Prefer default-jdk-headless to default-jdk when available.
   * debian/rules:
     + [JW, NT] Post process HTML docmentation to set the charset to UTF-8,
       which fixes mojibake in the Debian Policy Manual links.  Thanks to
diff --git a/debian/control b/debian/control
index 1cf34d4..9501475 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,9 @@ Build-Depends: aspell,
                bzip2,
                cdbs,
                debhelper (>= 9),
-               default-jdk,
+# Prefer the headless variant as it saves about 25% (installed-size), but
+# it is not available in Jessie.
+               default-jdk-headless | default-jdk,
 # Use bash as a Jessie indicator (dh-elpa is only used for a test)
                dh-elpa | bash (<< 4.4),
                diffstat,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: