Bug#1051225: libmypaint: update d/watch file
Source: libmypaint
Version: 1.6.0-2
Severity: minor
Dear Maintainer,
Here is a suggested patch to.
Regards,
Patrice
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.4.0-4-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff --git a/debian/watch b/debian/watch
index ffd65e1..599379d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,5 @@
+# Note: @ANY_VERSION@ is not used in matching-pattern to avoid 2.0.0-(beta|alpha) series that are older
version=4
-https://github.com/mypaint/libmypaint/releases \
- .*/libmypaint-([0-9.]+).tar.xz
+opts="filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2%" \
+ https://github.com/mypaint/@PACKAGE@/tags \
+ (?:.*?/)v?(\d[\.\d]*)@ARCHIVE_EXT@
Reply to: