Fix for rpm-based packages when self-signed cert is used to sign java applet

RPM build failed when the self-signed cert was used because the macro did not
expand correctly.
Fixes for el6 spec file

Some minor adjustments to sync up the el6 spec file with fedora.