From: Russ Allbery Date: Fri, 13 Apr 2007 16:25:18 +0000 (+0000) Subject: * Fix the watch file to remove .dfsg\d+ when comparing versions. X-Git-Tag: debian/1.4.4.dfsg1-2~9 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c72ab03c8f05b05a1105511781c9801527df9cc6;p=packages%2Fo%2Fopenafs.git * Fix the watch file to remove .dfsg\d+ when comparing versions. --- diff --git a/debian/changelog b/debian/changelog index 97f4350e4..89c9446be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +openafs (1.4.4.dfsg1-2) unstable; urgency=low + + * Fix the watch file to remove .dfsg\d+ when comparing versions. + + -- + openafs (1.4.4.dfsg1-1) unstable; urgency=low * Repackage upstream source to remove two additional files covered under diff --git a/debian/watch b/debian/watch index 192672259..f15eadd18 100644 --- a/debian/watch +++ b/debian/watch @@ -7,10 +7,11 @@ version=3 # Without the /pages in the URL, one gets the frameset page. -http://www.openafs.org/pages/release/latest.html \ - .*/openafs-([^-]+)-src\.tar\.gz +opts=dversionmangle=s/\.dfsg\d+$// \ + http://www.openafs.org/pages/release/latest.html \ + .*/openafs-([^-]+)-src\.tar\.gz # Release candidates are stashed in another secret place and we change the # version number for proper sorting of versions in Debian. -#opts="uversionmangle=s/\.0-rc/rc/" \ +#opts="uversionmangle=s/-rc/~rc/ dversionmangle=s/\.dfsg\d+$//" \ # http://dl.openafs.org/dl/openafs/candidate/ ([^/]+-rc\d+)/