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

Re: uscan, dfsg and changelog



Hi,

On 01/16/2012 02:12 PM, Olе Streicher wrote:
When I now run "uscan -debug -f" (to check the script), I get

uscan debug: [...]
-- Found the following matching hrefs:
    [...]
      http://foo.bar.edu/foo/foo-1.2.3.tar.gz
Newest version on remote site is 1.2.3, local version is 1.2.3+dfsg
  =>  remote site does not even have current version
-- Scan finished

so it obviously tries to put the +dfsg suffix to the download file.

How can I avoid that?

uscan can mangle versions. To strip the dfsg suffix, you need something like

  opts=dversionmangle=s/\+dfsg\d+$//

in your watch rule.

Regards,
Ansgar


Reply to: