From d919fc0a76d8c79c7f946b12bee269b4471bf34c Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Wed, 16 Nov 2022 17:26:52 -0600 Subject: [PATCH] Actually fix the upstream uscan file. --- debian/changelog | 1 + debian/watch | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9f63549..12c4b01 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ libqtxdg (3.10.0-0ubuntu1) UNRELEASED; urgency=medium * Add back symbols files. * New upstream release. + * Actually fix the upstream uscan file. -- Simon Quigley Wed, 16 Nov 2022 17:24:23 -0600 diff --git a/debian/watch b/debian/watch index 8f751ae..a544020 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,5 @@ version=4 -opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libqtxdg-$1\.tar\.gz/,pgpsigurlmangle=s/$/.asc/ \ - https://github.com/lxqt/libqtxdg/tags .*/v?(\d\S*)\.tar\.gz +opts="searchmode=plain, \ +pgpsigurlmangle=s/$/.asc/, \ +uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \ + https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz