On Fri, Aug 21, 2026 at 10:51:12AM +0300, Timo Aaltonen wrote:
> Package: devscripts
> Version: 2.26.11
> Severity: normal
> 
> Hi,
> 
> When migrating some packages to use watch-format 5 with minimal settings, I 
> noticed that uscan fails to
> find the match if the upstream name part has digits, like with libx11:
> 
>    https://xorg.freedesktop.org/releases/individual/lib/libX11-1.8.13.tar.xz 
> (11-1.8.13) index=11-1.8.13-4 
> 
> the only remedy I can see is to set "Matching-Pattern: libX11-...", which is 
> a bit lame as the same file can
> then not be used on all the xorg libs.

Hi, Timo,

What v5 watch file are you using? Using simple

--- 8< ---
Version: 5

Source: https://xorg.freedesktop.org/releases/individual/lib/
Matching-Pattern: libX11-(.*)\.tar\.gz
Pgp-Sig-Url-Mangle: s/$/.sig/
--- <8 ---

works here. Using Matching-Pattern is expected unless there is a
template for a given repo and I think using @PACKAGE@ instead of actual
package name will only work if there is no case mismatch between Debian and
upstream names.

-- 
Agustin

Reply via email to