Package: iso-codes
Severity: wishlist
Tags: patch

Hello,

since iso-codes contains a lot of text documents, it particularly
benefits from compressing the debs with bzip2. This saves download
bandwidth and space on CD. Trivial patch attached.

dpkg supports this feature since 1.10.24 [1] (i. e. since before
sarge).

Thanks,

Martin

[1] 
http://packages.debian.org/changelogs/pool/main/d/dpkg/current/changelog#versionversion1.10.24

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org
diff -pruN 1.0a-1/debian/changelog 1.0a-1ubuntu1/debian/changelog
--- 1.0a-1/debian/changelog	2007-10-18 16:49:04.000000000 +0100
+++ 1.0a-1ubuntu1/debian/changelog	2007-10-05 14:43:43.000000000 +0100
@@ -1,3 +1,9 @@
+iso-codes (1.0a-1ubuntu1) gutsy; urgency=low
+
+  * debian/rules: Use bzip2 compression for the .deb, saving 0.5 MB.
+
+ -- Martin Pitt <[EMAIL PROTECTED]>  Fri, 05 Oct 2007 11:19:10 +0200
+
 iso-codes (1.0a-1) unstable; urgency=low
 
   * Rebuild without auto-generated files to allow transition to testing
diff -pruN 1.0a-1/debian/control 1.0a-1ubuntu1/debian/control
--- 1.0a-1/debian/control	2007-10-18 16:49:04.000000000 +0100
+++ 1.0a-1ubuntu1/debian/control	2007-10-05 14:43:43.000000000 +0100
@@ -1,7 +1,8 @@
 Source: iso-codes
 Section: misc
 Priority: optional
-Maintainer: Alastair McKinstry <[EMAIL PROTECTED]>
+Maintainer: Ubuntu Core Developers <[EMAIL PROTECTED]>
+XSBC-Original-Maintainer: Alastair McKinstry <[EMAIL PROTECTED]>
 Uploaders: Tobias Toedter <[EMAIL PROTECTED]>, Christian Perrier <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 5), gettext, python, python-xml
 Standards-Version: 3.7.2
diff -pruN 1.0a-1/debian/rules 1.0a-1ubuntu1/debian/rules
--- 1.0a-1/debian/rules	2007-10-18 16:49:04.000000000 +0100
+++ 1.0a-1ubuntu1/debian/rules	2007-10-05 14:43:43.000000000 +0100
@@ -54,7 +54,7 @@ binary-indep: build install
 	dh_gencontrol -- -fdebian/files~
 	dpkg-distaddfile $(FILENAME)  debian-installer optional
 	dh_md5sums -p iso-codes
-	dh_builddeb -p iso-codes
+	dh_builddeb -p iso-codes -- -Z bzip2
 	dh_builddeb --filename=$(FILENAME)
 
 binary: binary-indep binary-arch

Attachment: signature.asc
Description: Digital signature

Reply via email to