From 9d1b3a65dcf18b7bd8178fdb1b15e2c4fbfe3e99 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 8 Apr 2021 10:17:37 -0400 Subject: Teach debian/watch about release candidates Update the scan URL in debian/watch to avoid picking up on release candidates. --- debian/changelog | 6 ++++++ debian/watch | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3f5cf710..28c28b34 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +abseil (0~20200923.3-4) UNRELEASED; urgency=medium + + * Correct debian/watch search URLs to avoid picking up rc versions. + + -- Benjamin Barenblat Thu, 08 Apr 2021 10:14:59 -0400 + abseil (0~20200923.3-3) unstable; urgency=medium * Fix "ftbfs with -march=x86-64-v3" by correcting the relevant unit diff --git a/debian/watch b/debian/watch index 4337b538..61202c86 100644 --- a/debian/watch +++ b/debian/watch @@ -13,5 +13,6 @@ # the License. version=4 -opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/abseil-$1\.tar\.gz/ \ - https://github.com/abseil/abseil-cpp/releases .*/v?(\d\S+)\.tar\.gz +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ + https://github.com/abseil/abseil-cpp/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz -- cgit v1.2.3