[redhat-rpm-config: 138/215] Enable use of XZ compression for binary rpm payloads - as per https://fedoraproject.org/wiki/Feature

Panu Matilainen pmatilai at fedoraproject.org
Wed Apr 2 10:29:59 UTC 2014


commit e56e816f4708b2bf71f7f94e437a5a2463c3c5cc
Author: Panu Matilainen <pmatilai at redhat.com>
Date:   Fri Jan 22 15:25:17 2010 +0200

    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 files changed, 3 insertions(+), 0 deletions(-)
---
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
 


More information about the scm-commits mailing list