summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdebindings
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/tdebindings')
-rwxr-xr-xubuntu/maverick/tdebindings/debian/rules3
-rw-r--r--ubuntu/maverick/tdebindings/debian/source/options4
2 files changed, 5 insertions, 2 deletions
diff --git a/ubuntu/maverick/tdebindings/debian/rules b/ubuntu/maverick/tdebindings/debian/rules
index 6a0e11dc7..b503f7580 100755
--- a/ubuntu/maverick/tdebindings/debian/rules
+++ b/ubuntu/maverick/tdebindings/debian/rules
@@ -35,6 +35,9 @@ DEB_CONFIGURE_EXTRA_FLAGS = $(WITH_JAVA) \
DEB_COMPRESS_EXCLUDE += .java .ui .js .rb .map .wav .bmp .cpp .sk
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are not all the packages with libraries, but only those that
# need to be in DEB_SHLIBDEPS_INCLUDE...
PACKAGES_WITH_LIBS = libqt3-jni-trinity libsmokeqt1-trinity libsmokekde1-trinity libkjsembed1-trinity
diff --git a/ubuntu/maverick/tdebindings/debian/source/options b/ubuntu/maverick/tdebindings/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/tdebindings/debian/source/options
+++ b/ubuntu/maverick/tdebindings/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences