specfile: trim unnecessary whitespace