The following commit has been merged in the master branch:
commit 16ab055e95a804a1fc176c7bd72b52a2be8412ab
Author: Guillem Jover <[email protected]>
Date: Mon Jul 8 01:56:37 2013 +0200
build: Switch default dpkg-deb compression from gzip to xz
Keep building dpkg.deb with gzip to make debootstrap life easier
on non-Debian based systems.
diff --git a/configure.ac b/configure.ac
index 74e379d..5cd8587 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ DPKG_WITH_DIR([logdir], [${localstatedir}/log],
[system logging directory [LOCALSTATEDIR/log]])
# Set default dpkg-deb compressor
-DPKG_DEB_COMPRESSOR([gzip])
+DPKG_DEB_COMPRESSOR([xz])
# Checks for programs.
AC_PROG_CC
diff --git a/debian/changelog b/debian/changelog
index 116e402..a9521ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -123,6 +123,8 @@ dpkg (1.17.0) UNRELEASED; urgency=low
* Document --file and --label parser options in dpkg-parsechangelog(1).
* Add a new configure --with-dpkg-deb-compressor option to allow selecting
the default dpkg-deb compressor, mainly for downstreams.
+ * Switch dpkg-deb default compressor from gzip to xz. Build dpkg.deb using
+ gzip to make debootstrap life easier on non-Debian based systems.
[ Updated programs translations ]
* Fix typo in Spanish translation of update-alternatives.
diff --git a/debian/rules b/debian/rules
index b5e0d31..69c2b60 100755
--- a/debian/rules
+++ b/debian/rules
@@ -116,7 +116,10 @@ binary-arch: install
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
- dh_builddeb -a
+ # Make debootstrap life easier on non-Debian based systems by
+ # compressing dpkg.deb with gzip instead of xz.
+ dh_builddeb -pdpkg -- -Zgzip
+ dh_builddeb -a -Ndpkg
# Put together the dpkg-dev package
binary-indep: install
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]