get-orig-source usage
Ross Gammon
rossgammon at mail.dk
Mon Jun 30 21:46:50 UTC 2014
On 06/30/2014 10:50 PM, Jaromír Mikeš wrote:
> 2014-06-30 21:32 GMT+02:00 Felipe Sateler <fsateler at gmail.com
> <mailto:fsateler at gmail.com>>:
>
>
> On 30 Jun 2014 14:00, "Jaromír Mikeš" <mira.mikes at gmail.com
> <mailto:mira.mikes at gmail.com>> wrote:
> >
> > Hello,
> >
> > I noticed usage of "get-orig-source" in rules files.
> > I understand that it is used for repacking orig tarball.
> > But don't know how to use it ... uscan ignore it :(
> >
> > What I am missing?
>
> It looks to me that with uscan the target has become obsolete.
>
> Use the Files-Excluded field in debian/copyright and just use uscan.
>
> That is what I think the new way should be like. What do others think?
>
>
> I tried this on zam-plugins package ...
> I want to remove upstream .gitignore file
>
> Added this to debian/copyright file:
>
> Files-Excluded: .gitignore
>
> But no succeed with
>
> $ uscan
> or
> $ uscan --repack
>
> :(
I normally use:
$ uscan --verbose --force-download
So I can see what is happening, and to overwrite in case there was any
funny business with another version of the tarball.
I think you need to have a recent version of uscan for the
"Files-Excluded" bit to work. That could be the problem - it fooled me
the first time.
Recording how you did the repacking in get-orig-source is probably handy
for the person that packages the next upstream version. Then you can
just do:
$ debian/rules get-orig-source
when you want to download the latest and repack (although you have to
check there are no new files that need to be excluded).
Regards,
Ross
>
> mira
>
>
> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140630/f1cd0a1f/attachment.sig>
More information about the pkg-multimedia-maintainers
mailing list