Hi, Matthias Klose wrote:
> the package b-d's on openjdk-6-jdk, but uses the JAVA_HOME for default-jdk. It makes sense that that would be a problem (the /usr/lib/jvm/default-java symlink is owned by default-jre-headless on my wheezy machine), but I'm not able to reproduce it in cowbuilder. Hints? Backport of the fix used for experimentation below. --- debian/changelog | 8 ++++++++ debian/control | 2 +- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0169d35..3f278d5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +mockito (1.8.5+ds1-2+squeeze0.1) local; urgency=low + + * debian/control: + - Build-Depend on default-jdk for /usr/lib/jvm/default-java symlink + (Closes: #630636) + + -- Jonathan Nieder <jrnie...@gmail.com> Mon, 23 Jan 2012 07:01:55 -0600 + mockito (1.8.5+ds1-2) unstable; urgency=low * debian/control: diff --git a/debian/control b/debian/control index 57fd923..d442db4 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 7.0.50~) , javahelper (>= 0.20~) , maven-repo-helper - , openjdk-6-jdk + , default-jdk Build-Depends-Indep: libasm3-java , libcglib-java -- 1.7.9.rc2 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org