diff -u agsync-0.2-pre/debian/watch agsync-0.2-pre/debian/watch
--- agsync-0.2-pre/debian/watch
+++ agsync-0.2-pre/debian/watch
@@ -1,7 +1,3 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# Format version number
 version=3
-# Full-site-with-pattern  [Version  [Action]]
-http://duskwood.lownewulf.com/agsync-(.*)-pre\.tgz     debian  uupdate
+opts="versionmangle=s/\-pre//" \
+http://duskwood.lownewulf.com/avantgo.html agsync-(.*)-pre.tgz

Resulting watch file:
version=3
opts="versionmangle=s/\-pre//" \
http://duskwood.lownewulf.com/avantgo.html agsync-(.*)-pre.tgz

$ uscan -dehs --no-download
<dehs>
<package>agsync</package>
<debian-uversion>0.2-pre</debian-uversion>
<debian-mangled-uversion>0.2</debian-mangled-uversion>
<upstream-version>0.2</upstream-version>
<upstream-url>http://duskwood.lownewulf.com/agsync-0.2-pre.tgz</upstream-url>
<status>up to date</status>
</dehs>

I'll include this fix in my NMU for #465639.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to