Fix upstream rc versions by using "~" instead of "-"

No match.