Hi Alessandro,

I think you could change you  watch file like that :
version=3
opts=dversionmangle=s/\.dfsg$// \
http://www.fpdf.org/en/download.php 
dl.php\?v=([0-9])([0-9])([0-9])?\&f=tgz

I tested with local version 1.6.0 and not 1.6 !

Regards,
Nicolas

2010/8/17 Alessandro De Zorzi <l...@nonlontano.it>
Hi all,
I maintain php-fpdf from few days, download available trough web page:

http://www.fpdf.org/?lang=en

upstream relased 1.6 (should be 1.60) version after 1.53 so mychangelog use 
epoch,
package is also a dfsg

my debian/watch

version=3
opts=dversionmangle=s/\.dfsg$// \
http://www.fpdf.org/en/download.phpdl.php\?v=([0-9])([0-9]*[0-9])\&f=tgz

$   uscan --report-status --debug

uscan debug: matching 
pattern(s)(?:(?:http://www.fpdf.org)?\/en\/download\.php)?dl.php\?v=([0-9])([0-9]*[0-9])\&f=tgz
-- Found the following matching hrefs:
     dl.php?v=16&f=tgz
     dl.php?v=153&f=tgz
     dl.php?v=152&f=tgz
     dl.php?v=151&f=tgz
     dl.php?v=15&f=tgz
     dl.php?v=141&f=tgz
     dl.php?v=14&f=tgz
     dl.php?v=131&f=tgz
     dl.php?v=13&f=tgz
Newest version on remote site is 1.53, local version is 1.6.dfsg
 (mangled local version number 1.6)
 => Newer version available from
    http://www.fpdf.org/en/dl.php?v=153&f=tgz
-- Scan finished

the problem is thatuscan believes that 1.53newer than 1.6

TIA
Alessandro (lota)



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to