Removes version on virtual pacakge in debian control java-runtime-headless is a virtual package and cannot have a version specified. The consequence of this is that the built packages require openjdk-8 be installed which prevented the packages from working with oracle-java8. java8-runtime-headless is a virtual package provided by both openjdk-8 and oracle-java8 so the resulting debian packages can be installed on a machine with either versions of java8 installed.
Testing Done: Started two docker containers, one with oracle-java8 and the other with openjdk-8. I was able to install the aurora-scheduler package in both containers with this change. Bugs closed: AURORA-1400 Reviewed at https://reviews.apache.org/r/36511/ Project: http://git-wip-us.apache.org/repos/asf/aurora-packaging/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora-packaging/commit/ccf7543e Tree: http://git-wip-us.apache.org/repos/asf/aurora-packaging/tree/ccf7543e Diff: http://git-wip-us.apache.org/repos/asf/aurora-packaging/diff/ccf7543e Branch: refs/heads/master Commit: ccf7543edd90dc18d89da30aeb4baca8d2245ea7 Parents: 928afd4 Author: Andrew Jorgensen <[email protected]> Authored: Wed Jul 15 11:35:01 2015 -0700 Committer: Bill Farner <[email protected]> Committed: Tue Aug 4 14:07:42 2015 -0700 ---------------------------------------------------------------------- build-support/packaging/debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora-packaging/blob/ccf7543e/build-support/packaging/debian/control ---------------------------------------------------------------------- diff --git a/build-support/packaging/debian/control b/build-support/packaging/debian/control index ff62ea1..3ece202 100644 --- a/build-support/packaging/debian/control +++ b/build-support/packaging/debian/control @@ -20,7 +20,7 @@ Architecture: any Section: net Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, - openjdk-8-jre-headless | java-runtime-headless (>= 8), + openjdk-8-jre-headless | java8-runtime-headless, mesos (>= 0.21.1) Recommends: aurora-tools Suggests: aurora-doc
