#1130344 Version-Constraint: same doesn't work apparently

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Rene Engelhard
Date:
2026-03-11 12:49:02 UTC
Severity:
normal
#1130344#5
Date:
2026-03-11 12:47:44 UTC
From:
To:
Hi,

$ cat debian/watch
Version: 5

Source: http://downloadarchive.documentfoundation.org/libreoffice/old/(\d\d\.\d\.\d\.\d)/src/
Matching-Pattern: libreoffice-(\d\d\.\d\.\d\.\d).tar.xz
Pgp-mode: auto

#Source: http://downloadarchive.documentfoundation.org/libreoffice/old/(\d\d\.\d\.\d\.\d)/src/
#Component: dictionaries
#Matching-Pattern: libreoffice-dictionaries-(\d\d\.\d\.\d\.\d).tar.xz
#Version-Constraint: same
#Repack: yes
#Update-Script: debian/scripts/uupdate-component-tarball.sh @COMPONENT@
#Pgp-mode: auto

Source: http://downloadarchive.documentfoundation.org/libreoffice/old/(\d\d\.\d\.\d\.\d)/src/
Component: helpcontent2
Matching-Pattern: libreoffice-help-(\d\d\.\d\.\d\.\d).tar.xz
Version-Constraint: same
Repack: yes
Update-Script: debian/scripts/uupdate-component-tarball.sh @COMPONENT@
Pgp-mode: auto

Source: http://downloadarchive.documentfoundation.org/libreoffice/old/(\d\d\.\d\.\d\.\d)/src/
Component: translations
Matching-Pattern: libreoffice-translations-(\d\d\.\d\.\d\.\d).tar.xz
Version-Constraint: same
Repack: yes
Update-Script: debian/scripts/uupdate-component-tarball.sh @COMPONENT@
Pgp-mode: auto

See
https://orig-check.debian.net/upstream2orig/result/84f9c1167be8747b186c7386598e46d611ca0e5adddbc83f20dc03081614e0b0.
Which fails because it claims that the version was not found. The
interesting part here seems to be

uscan warn: In debian/watch no matching files for version  in watch line
uscan info: Scan finished

for the both components.

If I remove Version-Constraint: same it works.

See the attached two logs.

Regards,

Rene
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts --- Not present