Fixing spec file for outputMode