Version: 5

# Upstream ships convenience copies and Windows build infrastructure that are
# stripped for DFSG reasons (see Files-Excluded in debian/copyright), so the
# tarball is repacked and carries a +dfsg suffix; Dversionmangle undoes that
# when comparing against upstream's own versioning.
# The pattern is pinned to the 1.4.x series deliberately, as that is what
# we package for Trixie.
Source: https://www.clamav.net/download.html
Matching-Pattern: /downloads/.*/clamav-(1\.4\..*)\.tar\.gz
Dversionmangle: s/\+dfsg\d*$//
Repacksuffix: +dfsg
Pgpsigurlmangle: s/$/.sig/
Uversionmangle: s/(\d+)-*(beta|rc)/$1~$2/
