adaped redhat spec file to RHEL 7