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

Re: debian .orig.tar.gz vs. upstream tar.gz

Hi Kapil,

Kapil Hari Paranjape <kapil@imsc.res.in> wrote:
> I got hit by this so I wanted to note it down where it might be of
> use to others. It *is* elementary but then ...
> Suppose	pkg_123.45.orig.tar.gz is already in the Debian archive.
> To build a new version pkg_123.45-xxx of the Debian package.
> *Always* use the Debian version of the .orig.tar.gz by doing "apt-get -d source pkg".
> Do *not* get the upstream .tar.gz which may have changed for some
> mysterious reason.

I don't think the upstream tar.gz have changed, but your orig.tar.gz is
not the same as the upstream tar.gz. This happens if the orig.tar.gz was
repacked to rename the top directory to <package>-<version>.
dpkg-buildpackage -S does this as described by Policy C.4.

Bye, Jörg.
> Definiere ‚Demokratie‘ …
… eine Mehrheit beweist einer Minderheit, dass Widerstand zwecklos ist.

Reply to: