fixed make rpm command

This change allows a user to build an rpm from inside the repo.  The version is generated using the tag in the repository.