[med-svn] [libssw] 01/01: move Java dependency back into d/tests/control
Sascha Steinbiss
satta at debian.org
Mon Jul 18 21:13:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch master
in repository libssw.
commit 290dc7f4434c829e7297664ecd72d43ad0bbacf4
Author: Sascha Steinbiss <satta at debian.org>
Date: Mon Jul 18 19:36:30 2016 +0000
move Java dependency back into d/tests/control
Since libssw-java is a Java library, it does not require a JRE to
'run' -- in fact, it is discouraged to depend in a runtime in this
case (see Lintian's needless-dependency-on-jre tag).
The autopkgtest uses this library to build a new Java executable,
i.e. it tests whether libssw-java can be used as a library at all.
Hence depending on a JDK (not JRE) in d/tests/control makes more sense.
Using default-jdk here to ease backports for Jessie.
---
debian/control | 2 --
debian/tests/control | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 6104e5d..39d5fda 100644
--- a/debian/control
+++ b/debian/control
@@ -54,8 +54,6 @@ Package: libssw-java
Architecture: any-amd64 any-x32
Section: java
Depends: ${java:Depends},
-# Not sure why java:Depends doesn't add anything, but we definitely need java.
- default-jre-headless,
${shlibs:Depends},
${misc:Depends}
Recommends: ${java:Recommends}
diff --git a/debian/tests/control b/debian/tests/control
index fd7f086..e5392c3 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,7 +2,7 @@ Tests: build-lib
Depends: libssw0, libssw-dev, build-essential, zlib1g-dev
Tests: build-lib-java
-Depends: libssw-java
+Depends: libssw-java, default-jdk
Tests: run-example
Depends: ssw-align
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libssw.git
More information about the debian-med-commit
mailing list