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

Re: qmapshack for debian






2014-08-05 21:27 GMT+02:00 Andreas Tille <andreas@an3as.eu>:

Hi Andreas,
 
> > So this solution allows me get orig source via wget.
>
> 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):

Alternatively you can use wget to download the tarball and use

   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.

> 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

mk-origtargz --repack --compress xz $(pkg)-$(upstream_version).tar.gz


should do the trick instead of the deleted lines of code.


I will try, thanks.

mira

Reply to: