From c72ab03c8f05b05a1105511781c9801527df9cc6 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 13 Apr 2007 16:25:18 +0000 Subject: [PATCH] * Fix the watch file to remove .dfsg\d+ when comparing versions. --- debian/changelog | 6 ++++++ debian/watch | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) 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+)/ -- 2.39.5