From e56e816f4708b2bf71f7f94e437a5a2463c3c5cc Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 22 Jan 2010 15:25:17 +0200 Subject: [PATCH] Enable use of XZ compression for binary rpm payloads - as per https://fedoraproject.org/wiki/Features/XZRpmPayloads - lowish compression preset level to keep deltarpm rebuild time tolerable - source rpms dont really benefit from XZ compression as the contents are typically tarballs which are already compressed - patch from Bill Nottingham --- macros | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macros b/macros index 5515620..2f71316 100644 --- a/macros +++ b/macros @@ -173,6 +173,9 @@ unset DISPLAY\ %_source_filedigest_algorithm 8 %_binary_filedigest_algorithm 8 +# Use XZ compression for binary payloads +%_binary_payload w2.xzdio + %__find_provides /usr/lib/rpm/redhat/find-provides %__find_requires /usr/lib/rpm/redhat/find-requires