[tomcat8] 02/06: Depend on openjdk-7 instead of openjdk-6
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Feb 1 08:15:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to annotated tag debian/8.5.11-1_bpo7+1
in repository tomcat8.
commit 97f607f8cc18fa6ed34621e80041b0d83dea863a
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Jun 25 12:05:03 2014 +0200
Depend on openjdk-7 instead of openjdk-6
---
debian/changelog | 1 +
debian/control | 4 ++--
debian/rules | 2 +-
debian/tomcat8.init | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b6e8438..3043511 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
tomcat8 (8.5.11-1~bpo7+1) wheezy-backports-sloppy; urgency=medium
* Rebuild for wheezy-backports-sloppy
+ - Depend on openjdk-7 instead of openjdk-6 which is the default in Wheezy
-- Emmanuel Bourg <ebourg at apache.org> Tue, 31 Jan 2017 22:58:42 +0100
diff --git a/debian/control b/debian/control
index 0e8c618..4f9fc59 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Uploaders: James Page <james.page at ubuntu.com>,
Emmanuel Bourg <ebourg at apache.org>
Build-Depends: ant-optional,
debhelper (>= 10),
- default-jdk,
+ openjdk-7-jdk,
po-debconf
Build-Depends-Indep: javahelper,
junit4 (>= 4.11),
@@ -30,7 +30,7 @@ Homepage: http://tomcat.apache.org
Package: tomcat8-common
Architecture: all
-Depends: default-jre-headless | java7-runtime-headless | java7-runtime,
+Depends: openjdk-7-jre-headless | java7-runtime-headless | java7-runtime,
libtomcat8-java (>= ${source:Version}),
${misc:Depends}
Description: Apache Tomcat 8 - Servlet and JSP engine -- common files
diff --git a/debian/rules b/debian/rules
index 1b1fa70..6ad4ea3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-JAVA_HOME := /usr/lib/jvm/default-java
+export JAVA_HOME := /usr/lib/jvm/java-7-openjdk-$(shell dpkg-architecture -qDEB_BUILD_ARCH)
VERSION := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*$$//' | sed 's/~/-/')
DATE := $(shell dpkg-parsechangelog --show-field Date)
diff --git a/debian/tomcat8.init b/debian/tomcat8.init
index 4fe223a..d3abef3 100644
--- a/debian/tomcat8.init
+++ b/debian/tomcat8.init
@@ -78,7 +78,7 @@ find_jdks()
# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
# defined in $DEFAULT)
-JDK_DIRS="/usr/lib/jvm/default-java"
+JDK_DIRS=""
find_jdks
# Look for the right JVM to use
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/tomcat8.git
More information about the pkg-java-commits
mailing list