Fix variable expansion in specfiles.