don't replace dashes
Merge pull request #603 from avalanche123/rpm-version-fix

don't replace the last dash as that is the release separator