From 7e9cb7e2eeca7ec00c331a0d92adf52817c17014 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timo=20R=C3=B6hling?= Date: Sun, 28 Aug 2022 14:08:45 +0200 Subject: [PATCH] Update d/watch --- debian/README.source | 7 ++++++- debian/watch | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/debian/README.source b/debian/README.source index 80dcb6da5..6e4f234ba 100644 --- a/debian/README.source +++ b/debian/README.source @@ -1,4 +1,9 @@ The DFSG version string is added because the /deps directory is removed from the upstream tarball since it's not used in any part of the packaging. - -- Russell Sim , Sat, 29 Jul 2017 18:32:25 +0200 + -- Russell Sim Sat, 29 Jul 2017 18:32:25 +0200 + +I replaced the DFSG suffix with DS, because the removal is merely reducing the +source tarball in size, not fixing any DFSG violations. + + -- Timo Röhling Sun, 28 Aug 2022 14:08:22 +0200 diff --git a/debian/watch b/debian/watch index 9e850b32d..65b8013d8 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,5 @@ -version=3 -opts=compression=xz,repack,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libgit2-$1\.tar\.gz/,dversionmangle=s/\+dfsg\d*$//,repacksuffix=+dfsg.1 \ - https://github.com/libgit2/libgit2/releases .*/v?([\d.]*)\.tar\.gz +version=4 +opts=filenamemangle=s%(?:.*?)?v?(\d[\d.]*@ARCHIVE_EXT@)%@PACKAGE@-$1%,\ + repack,dversionmangle=auto,repacksuffix=+ds \ + https://github.com/libgit2/libgit2/tags (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@ + -- 2.39.2