[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with uscan



El vie, 18-12-2009 a las 14:14 +1100, Erik de Castro Lopo escribió:
> I'm trying to write a debian/watch file for an upstream package which 
> has a version number 1.2.3-rc4. For the debian package I need to drop
> the dash from the version number to give a debian version number of
> 1.2.3rc4.

Hi Erik,

You can use uversionmangle (see uscan manpage), but I think you should
use 1.2.3~rc4 instead of 1.2.3rc4 because 1.2.3rc4 > 1.2.3 (see dpkg
--compare-versions).

Try something like: 
opts="uversionmangle=s/-rc/~rc/" http://site/package-(.*).tar.gz

Regards,
Ruben Molina

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente


Reply to: