Code update and adding to contrib spec file for redhat.