summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2021-04-08 10:17:37 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2021-04-08 10:17:37 -0400
commit9d1b3a65dcf18b7bd8178fdb1b15e2c4fbfe3e99 (patch)
treed829161b6296eeec7fa3dd4f0242599cfb2bac53 /debian
parentc38aef8910d3b1e10d989f7e0f5e066fac4aabda (diff)
Teach debian/watch about release candidates
Update the scan URL in debian/watch to avoid picking up on release candidates.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/watch5
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 <bbaren@debian.org> 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