From 272c824dbed48843ecefc2f080676e4aeb5b0112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Wed, 10 May 2023 01:36:49 +0200 Subject: [PATCH] Fix watch file It would be better to remove this file (or even the whole contrib/debian dir), as it confuses uscan --- contrib/debian/watch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/debian/watch b/contrib/debian/watch index 3492a1cb..5950600c 100644 --- a/contrib/debian/watch +++ b/contrib/debian/watch @@ -1,5 +1,5 @@ -version=3 +version=4 -opts=dversionmangle=s/[~](pre\d+|rc\d+)\.dfsg\d+$/$1/,\ -filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/elinks-$1\.tar\.gz/ \ - https://github.com/rkd77/felinks/releases /rkd77/felinks/archive/v(.*)\.tar\.gz +opts=downloadurlmangle=s#archive/refs/tags/v(.*)\.tar\.gz#releases/download/v$1/@PACKAGE@-$1\.tar\.xz# \ +https://github.com/rkd77/@PACKAGE@/tags \ + (?:.*?/)?v?([\d.]*)@ARCHIVE_EXT@