Strip -dev part of version

Makes it simpler for the redhat spec files...