Revert "primary: use proper regex for basename"
After realizing that the version used in this patch is the version of
the package which may differ from the version of the source rpm that
we are processing here, and considering that in fact release tag do
not use '-', Igor and I decided to revert this patch.
This reverts commit dec253d4e2749bca41cf7a198acae076ef09d976.