summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fdad69b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=filenamemangle=s/.*\/(.*)\/download/proc-macro2-$1\.tar\.gz/g,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/proc-macro2 .*/crates/proc-macro2/@ANY_VERSION@/download