remove amazon specific code from package::redhat