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
This commit is contained in:
Panu Matilainen 2010-01-22 15:25:17 +02:00
parent 159a65fb61
commit e56e816f47

3
macros
View File

@ -173,6 +173,9 @@ unset DISPLAY\
%_source_filedigest_algorithm 8 %_source_filedigest_algorithm 8
%_binary_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_provides /usr/lib/rpm/redhat/find-provides
%__find_requires /usr/lib/rpm/redhat/find-requires %__find_requires /usr/lib/rpm/redhat/find-requires