On Wed, Nov 14, 2018 at 10:30:22PM +0100, Sebastian Ramacher wrote:
> From man uscan:
>
> @DEB_EXT@
> This is substituted by the typical Debian extension regexp (capturing).
>
> [\+~](debian|dfsg|ds|deb)(\.)?(\d+)?$
>
>
> lintian however does not recognize @DEB_EXT@. For a debian/watch file including
> dversinmangle=s/@DEB_EXT@// lintian incorrectly reports
> debian-watch-file-should-mangle-version. Example debian/watch that exhibits this
> issue:
>
> version=4
> opts="uversionmangle=s/.pre/~pre/,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds1" \
> https://github.com/intel/gmmlib/tags \
> (?:.*?/)intel-gmmlib@ANY_VERSION@\.tar\.gz
Just a note, please also make sure lintian understands
dversionmangle=auto (which is the same as dversionmangle=s/@DEB_EXT@//
atm).
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
Attachment:
signature.asc
Description: PGP signature