[med-svn] [libssw] 03/04: Add dependency on JRE runtime for libssw-java
Afif Elghraoui
afif at moszumanska.debian.org
Mon Jul 18 06:18:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch debian/jessie-backports
in repository libssw.
commit f48e4489775fa7fb0768be5de72e44b55289dc56
Author: Afif Elghraoui <afif at debian.org>
Date: Sun Jul 17 21:09:54 2016 -0700
Add dependency on JRE runtime for libssw-java
Apparently nothing gets added by ${java:Depends}, but
libssw-java definitely needs java in order to run.
Declaring this dependency removes the need from explicitly
declaring it in debian/tests/control.
---
debian/control | 2 ++
debian/tests/control | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index a8daa33..c560536 100644
--- a/debian/control
+++ b/debian/control
@@ -56,6 +56,8 @@ 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 c6c33d1..fd7f086 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, default-jdk-headless
+Depends: libssw-java
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