From 55eb740f905d7dccf8dea83a83217086e65744c9 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Sun, 10 Jul 2022 09:23:10 +0200 Subject: [PATCH] debian/watch: Update the URL and add support for RC releases --- debian/changelog | 6 ++++++ debian/watch | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d7749e3..b191712 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +nut (2.7.4-15) UNRELEASED; urgency=medium + + * debian/watch: Update the URL and add support for RC releases + + -- Laurent Bigonville Sun, 10 Jul 2022 09:20:23 +0200 + nut (2.7.4-14) unstable; urgency=medium [ Jeremy Sowden ] diff --git a/debian/watch b/debian/watch index e228e43..0308379 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,3 @@ -version=3 -https://networkupstools.org/download.html .*/nut-(.*)\.tar\.(?:gz|bz2|xz) +version=4 +opts="uversionmangle=s/-rc/~rc/" \ +https://networkupstools.org/source/(?:([\d\.]+))/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@