support building for OpenJDK8

Patch by Omair Majid <omajid@redhat.com>

Closes #6.

Signed-off-by: Richard Marko <rmarko@redhat.com>
update spec

Signed-off-by: Richard Marko <rmarko@redhat.com>