Fixed the return codes to 'succes' if the desired state was achieved
Made the spec file more complete and robust