From 2b91b17d526b464840a3f45504c594cdb50152c5 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 8 Apr 2021 10:20:46 -0400 Subject: Add uversionmangle to debian/watch to add 0~ prefix --- debian/changelog | 2 ++ debian/watch | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 28c28b34..c821ca3c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ abseil (0~20200923.3-4) UNRELEASED; urgency=medium * Correct debian/watch search URLs to avoid picking up rc versions. + * Mangle upstream version in debian/watch to match manual mangling in + debian/changelog. -- Benjamin Barenblat Thu, 08 Apr 2021 10:14:59 -0400 diff --git a/debian/watch b/debian/watch index 61202c86..e621a589 100644 --- a/debian/watch +++ b/debian/watch @@ -13,6 +13,6 @@ # the License. version=4 -opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%, uversionmangle=s/^/0~/" \ https://github.com/abseil/abseil-cpp/releases \ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz -- cgit v1.2.3