r4866 - in glibc-package/trunk/debian: . rules.d
Author: aurel32
Date: 2011-08-12 13:31:41 +0000 (Fri, 12 Aug 2011)
New Revision: 4866
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/rules.d/debhelper.mk
Log:
* Compress libc*-dbg and locales-all to using xz.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2011-08-12 13:30:45 UTC (rev 4865)
+++ glibc-package/trunk/debian/changelog 2011-08-12 13:31:41 UTC (rev 4866)
@@ -6,6 +6,7 @@
dlopen'ed objects. Closes: #637239.
* Provide locales in locales-all as separated files instead of adding them
to locale-archive. Closes: #537743, #636694.
+ * Compress libc*-dbg and locales-all to using xz.
-- Aurelien Jarno <aurel32@debian.org> Tue, 09 Aug 2011 11:40:02 +0200
Modified: glibc-package/trunk/debian/rules.d/debhelper.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/debhelper.mk 2011-08-12 13:30:45 UTC (rev 4865)
+++ glibc-package/trunk/debian/rules.d/debhelper.mk 2011-08-12 13:31:41 UTC (rev 4866)
@@ -126,8 +126,17 @@
sed -i -e "s/\(Depends:.*libc[0-9.]\+\)-[a-z0-9]\+/\1/" debian/nscd/DEBIAN/control ; \
fi
dh_md5sums -p$(curpass)
- dh_builddeb -p$(curpass)
+ # We adjust the compression format depending on the package:
+ # - libc*-dbg and locales-all contains highly compressible data
+ # - other packages use the default gzip format
+ case $(curpass) in \
+ libc*-dbg | locales-all) \
+ dh_builddeb -p$(curpass) -- -Zxz -c7 ;; \
+ *) \
+ dh_builddeb -p$(curpass) ;; \
+ esac
+
touch $@
$(patsubst %,binaryinst_%,$(DEB_UDEB_PACKAGES)) :: binaryinst_% : $(stamp)binaryinst_%
Reply to: