version=4
{% if repack %}
opts="mode=git, pgpmode=none,\
      dversionmangle=s/\+ds\d*$//,repacksuffix=+ds" \
{% else %}
opts="mode=git, pgpmode=none" \
{% endif %}
  {{ repo }}.git \
  refs/tags/v?(\d[\d\.]*)
