Updating spec file to create better log file