rpm: Fix version determination for "make rpm"

Fix the determination of the version string for "make rpm" by making sure
that all otherwise unhandled %{...} variable substitutions get deleted.

Signed-off-by: David Howells <dhowells@redhat.com>
1 file changed