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

Re: +dfsg extension with Files-Excluded: in d/copyright



On 01-09-15 11:51, Ole Streicher wrote:
> when using the Files-Excluded: tag in debian/copyright, in the past
> there was an "+dfsg" suffix added to the version number
> automatically. This seems to have changed; is there a reason for that?
> Is there any case to use Files-Excluded: *without* actually adding the
> suffix?
> 
> What is recommended way for the watch file that it automatically
> generated to correct version number for a newly created orig.tar file?
> 
> I tried to add "uversionmangle", but it didn't work well:
> 
> version=3
> opts=dversionmangle=s/\+dfsg//,uversionmangle=s/$/+dfsg/ \
>  http://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/fv/fv(.+\..+)_src\.tar\.gz

Add the repacksuffix option, e.g.:

version=3
opts=\
dversionmangle=s/\+dfsg//,\
uversionmangle=s/$/+dfsg/,\
repacksuffix=+dfsg \
http://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/fv/ \
fv(.+\..+)_src\.tar\.gz

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


Reply to: