X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=best-pkging-practices.dbk;h=f7b5a7b19ea563d672b966fb13dd51f83fa766b1;hb=a81dc11cab0ab8d0d496568bfa0a8a398d1aac1e;hp=bd2270b6aa106d6c71f2f100a32dd500c60d1306;hpb=7a1dd3850e8b088ac4ec7dcb3cb92eceab058027;p=developers-reference.git
diff --git a/best-pkging-practices.dbk b/best-pkging-practices.dbk
index bd2270b..f7b5a7b 100644
--- a/best-pkging-practices.dbk
+++ b/best-pkging-practices.dbk
@@ -1680,7 +1680,7 @@ in order to ease deborphan's job.
-Best practices for .orig.tar.{gz,bz2,lzma} files
+Best practices for .orig.tar.{gz,bz2,xz} files
There are two kinds of original source tarballs: Pristine source and repackaged
upstream source.
@@ -1689,7 +1689,7 @@ upstream source.
Pristine source
The defining characteristic of a pristine source tarball is that the
-.orig.tar.{gz,bz2,lzma} file is byte-for-byte identical to a tarball officially
+.orig.tar.{gz,bz2,xz} file is byte-for-byte identical to a tarball officially
distributed by the upstream author. We cannot prevent
upstream authors from changing the tarball they distribute without also
incrementing the version number, so there can be no guarantee that a pristine
@@ -1699,7 +1699,7 @@ identical to something that upstream once did distribute.
If a difference arises later (say, if upstream notices that he wasn't using
maximal compression in his original distribution and then
re-gzips it), that's just too bad. Since there is no good
-way to upload a new .orig.tar.{gz,bz2,lzma} for the same version, there is not even any
+way to upload a new .orig.tar.{gz,bz2,xz} for the same version, there is not even any
point in treating this situation as a bug. This makes it
possible to use checksums to easily verify that all changes between Debian's
version and upstream's are contained in the Debian diff. Also, if the original
@@ -1753,17 +1753,17 @@ gzipped tar at all, or if upstream's tarball contains non-DFSG-free material
that you must remove before uploading.
-In these cases the developer must construct a suitable .orig.tar.{gz,bz2,lzma}
+In these cases the developer must construct a suitable .orig.tar.{gz,bz2,xz}
file himself. We refer to such a tarball as a repackaged upstream
source. Note that a repackaged upstream source is different from a
Debian-native package. A repackaged source still comes with Debian-specific
-changes in a separate .diff.gz or .debian.tar.{gz,bz2,lzma}
+changes in a separate .diff.gz or .debian.tar.{gz,bz2,xz}
and still has a version number composed of upstream-version and
debian-version.
There may be cases where it is desirable to repackage the source even though
-upstream distributes a .tar.{gz,bz2,lzma} that could in principle be
+upstream distributes a .tar.{gz,bz2,xz} that could in principle be
used in its pristine form. The most obvious is if
significant space savings can be achieved by recompressing
the tar archive or by removing genuinely useless cruft from the upstream
@@ -1771,7 +1771,7 @@ archive. Use your own discretion here, but be prepared to defend your decision
if you repackage source that could have been pristine.
-A repackaged .orig.tar.{gz,bz2,lzma}
+A repackaged .orig.tar.{gz,bz2,xz}