summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-07-08 01:56:37 +0200
committerGuillem Jover <guillem@debian.org>2013-07-18 05:39:41 +0200
commit16ab055e95a804a1fc176c7bd72b52a2be8412ab (patch)
treea6a0e5a30ce072b0bec4513534f7e9172acf57bb
parent68a1f4682bb8876168168770a200aaf389b562a7 (diff)
downloaddpkg-16ab055e95a804a1fc176c7bd72b52a2be8412ab.tar.gz
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.
-rw-r--r--configure.ac2
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules5
3 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 74e379deb..5cd8587e6 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 116e40227..a9521ad95 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 b5e0d3109..69c2b606d 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