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

uscan, dfsg and changelog


I have a source that needs to be repackaged due to some copyright
issues. From the Mentors FAQ, I found that I should name the package
"foo-1.2.3+dfsg-1". So, I made a repacking script (should it have a
predefined name, btw?) like:

wd=mktmp -d
tar xf $orig_tar -C $wd 
rm -rf $wd/foo/non-free-part
tar czf foo-$ver+dfsg.orig.tar.gz -C $wd .
rm -rf $wd

which creates the foo-1.2.3+dfsg.orig.tar.gz file. Then I put the
following into my debian/changelog:

foo (1.2.3+dfsg-1) unstable; urgency=low

  * New package. Closes: #xxxxxx

 -- Ole Streicher <debian@liska.ath.cx>  Mon, 16 Jan 2012 12:37:00 +0100

When I now run "uscan -debug -f" (to check the script), I get

uscan debug: [...]
-- Found the following matching hrefs:
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?



Reply to: