test: Fix tarball version regexp in make-srpm
test: Fix tarball version regexp in make-srpm

'-' must always come first or last in a character class, otherwise it
denotes a range. This made the sed expression highly locale dependent,
e. g. it worked in en_US.UTF-8 but not in C.UTF-8.

Reviewed-by: Peter <a316049dd34607c62d4611d63ab22a6454add223@redhat.com>

mareklibra/cockpit,dperpeet/cockpit,dperpeet/cockpit,stefwalter/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,mareklibra/cockpit,Scribery/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,larsu/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,larsu/cockpit,deryni/cockpit,martinpitt/cockpit,petervo/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,deryni/cockpit,larsu/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,mvollmer/cockpit,deryni/cockpit,michalskrivanek/cockpit,garrett/cockpit,Scribery/cockpit,andreasn/cockpit,dperpeet/cockpit,petervo/cockpit,mareklibra/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,harishanand95/cockpit,garrett/cockpit,andreasn/cockpit,petervo/cockpit,cockpituous/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,petervo/cockpit,moraleslazaro/cockpit,larsu/cockpit,larskarlitski/cockpit,larsu/cockpit,mvollmer/cockpit,petervo/cockpit,deryni/cockpit,andreasn/cockpit,Scribery/cockpit,deryni/cockpit,dperpeet/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,cockpituous/cockpit,xhad/cockpit,SotolitoLabs/cockpit,dperpeet/cockpit,harishanand95/cockpit,cockpit-project/cockpit,cockpituous/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,Scribery/cockpit,mareklibra/cockpit,mvollmer/cockpit,cockpit-project/cockpit,petervo/cockpit,mareklibra/cockpit,larskarlitski/cockpit,xhad/cockpit,harishanand95/cockpit,cockpituous/cockpit,stefwalter/cockpit,harishanand95/cockpit,deryni/cockpit,michalskrivanek/cockpit,larskarlitski/cockpit,harishanand95/cockpit,stefwalter/cockpit,deryni/cockpit,Scribery/cockpit,martinpitt/cockpit,larsu/cockpit,moraleslazaro/cockpit,xhad/cockpit,Scribery/cockpit,garrett/cockpit,michalskrivanek/cockpit,andreasn/cockpit,Scribery/cockpit,petervo/cockpit,mareklibra/cockpit,xhad/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,andreasn/cockpit,garrett/cockpit,garrett/cockpit,martinpitt/cockpit,harishanand95/cockpit,cockpit-project/cockpit,xhad/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,andreasn/cockpit,cockpit-project/cockpit,michalskrivanek/cockpit,xhad/cockpit,xhad/cockpit,mvollmer/cockpit,andreasn/cockpit,moraleslazaro/cockpit