Code

watch: Mangle upstream versions <version>.rc<n> as well.
authorSebastian Harl <sh@tokkee.org>
Sat, 26 Dec 2009 23:39:37 +0000 (00:39 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 26 Dec 2009 23:39:37 +0000 (00:39 +0100)
debian/watch

index 867b564240e529d251376318b49b286bd5eb1ef4..a89b8498fc29eef4f9b3aba3e1f18c53aedb1bc5 100644 (file)
@@ -1,5 +1,5 @@
 version=3
 
-opts="uversionmangle=s/beta/~beta/;s/-rc/~rc/" \
+opts="uversionmangle=s/beta/~beta/;s/[-.]rc/~rc/" \
 http://collectd.org/files/ collectd-(.*)\.tar\.gz