Re: [Pkg-haskell-commits] darcs: gitit: Use system JS
Am 27. Mai 2015 07:24:20 MESZ, schrieb Dmitry Bogatov <KAction@gnu.org>:
>* Joachim Breitner <email@example.com> [2015-05-26 23:21:26+0200]
>> Am Dienstag, den 26.05.2015, 21:03 +0000 schrieb KAction@gnu.org:
>> > + * Prefer jquery libraries from Debian packages over
>> > + bundled code.
>> > + * Simplify debian/copyright -- no licenses for JS code
>> it would be nice if it is that simple, but unfortunately,
>> debian/copyright will still have to contain the licenses of the JS
>> if they are in the orig-tarball, even when they are not used.
>> You could repack the tarball and remove them altogether. You can use
>> Files-Excluded feature of debian/copyright to specify which files are
>> be removed, and uscan (via mk-origtargz) will do that for your. This
>> also the right approach if the file are not accompaniment with their
>> corresponding source.
>Yes, I know it is only part of work. Problem is that uscan refuses to
>it's work. As soon I specify Files-Excluded: field, I receive following
> tar: Skipping to next header
> tar: Exiting with failure status due to previous errors
> mk-origtargz: error: tar --list --auto-compress --file
> ../gitit_0.10.6.3.orig.tar.gz gave error exit status 2
> uscan: error: mk-origtargz --package gitit --version 0.10.6.3
> --compression gzip --directory .. --copyright-file debian/copyright
> ../gitit-0.10.6.3.tar.gz gave error exit status 2
>Did you ever encountered this? I failed to find example package, that
>uses this uscan feature.
looks like the bug in tar (748244) is still not fixed. You'll have to manually create the tarball.