James Westby wrote:
> However you say 
> 
>   The .orig.tar.gz from the maintainer's last release is kept in the archive
> 
> but for a native package there is no .orig.tar.gz, there is a .tar.gz.

You're right. I wonder if there's a good way to deal with this
discreprency and rename the .tar.gz to .orig.tar.gz.

Hmm, I tried with debhelper:
  mv debhelper_5.0.53.tar.gz debhelper_5.0.53.orig.tar.gz
And then building a 5.0.53-0.1 "NMU" using this. Seemed to work ok, the
.changes included an upload of the .orig.tar.gz. I think this won't confuse
the archive software or anything else. It's not ideal, since it requires
a manual step.

The other possibility would be to hack dpkg-buildpackage to construct a
diff against the .tar.gz and hope that, as you noted, nothing is
hardcoded to use .orig.tar.gz.

If anyone wants to try either method out, feel free to NMU debhelper for
any of its bugs that don't involve adding new features. ;-)

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to