Incorporating upstream changes

This commit incoporates changes made upstream.
Fixes missing dependency bug

The apache-tomcat package uses libtool to register libraries
during installation. Thus, libtool is a required package.
Makes the build Java package agnostic

This commit alters the build process to detect the type of Java
package installed on the build system and adjusts the SPEC file
accordingly.
Merge pull request #3 from jsumners/develop

Fixes missing libtool dependency and adds Java package detection