packaging(RHEL-CTDB):makespec.sh: fix detection of version