> > So this solution allows me get orig source via wget.Alternatively you can use wget to download the tarball and use
>
> The wget route seems to be a good enough workaround for the uscan issue.
>
> I would still use `tar --delete` to remove the .hg directory, e.g. with
> something like the following patch (note: untested):
mk-origtargz --repack --compress xz <path_to_download_tarball>
to emulate what uscan would do (uscan also calls mk-origtargz). This
would let you settle with the same Files-Excluded statement as you could
do with uscan and it saves you longish and hard to maintain
get-orig-source code.
mk-origtargz --repack --compress xz $(pkg)-$(upstream_version).tar.gz
> diff --git a/debian/rules b/debian/rules
> index ec21e31..1dd2bd4 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -15,11 +15,4 @@ get-orig-source:
> # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749225
> # uscan --noconf --force-download --rename --debug --destdir=.
> wget
> https://bitbucket.org/maproom/qmapshack/downloads/$(pkg)-$(upstream_version).tar.gz
should do the trick instead of the deleted lines of code.