Simple patch to fix building debian package
mandy.chung at oracle.com
Mon Sep 26 19:49:29 PDT 2011
jpkg fails to create the debian package for the JDK modules
because it uses '_' which is no longer a valid character
in the debian version.
This patch simply fixes to return the jigsaw version and
also checks for valid characters and throws exception if
the jigsaw version was changed to use any invalid character.
In addition, only include the mandatory dependencies in
the Depend statements for the debian package.
More information about the jigsaw-dev