Remove trailing white spaces from spec