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

Re: pristine-tar and upstream zip



Russ Allbery <rra@debian.org> writes:

hi Russ,

> Felix Natter <fnatter@gmx.net> writes:
>
>> as far as I understand Debian packaging, the .orig.tar.{gz,bz2} shall
>> have the same checksum as the original upstream tarball (by using
>> pristine-tar). This worked for me when the upstream tarball is *.tar.gz,
>> but in a package libidw-java, where the upstream tarball is *.zip, this
>> does not seem to work:
>
> *.zip is not a supported upstream compression format in the Debian
> archive, so git-buildpackage is converting it to something else for you.
> You will have to repack an upstream distribution in *.zip format to
> something else, I'm afraid, and therefore won't be able to use the
> upstream distribution verbatim.

So I add a download rule:

get-orig-source:
	uscan --force-download --repack

and use the result as input to git-import-orig and everything should be
ok?

Thanks and Best Regards,
-- 
Felix Natter


Reply to: