This enables XZ payload compression level 7 (suggested default by upstream) for binary RPMs and SRPMS. These macros aren't defined by default and if undefined gz compression is used.

+

The <code>%_source_payload</code> macro can be used to change the payload compression for source RPMs. However, since source RPMs consist almost entirely of precompressed source archives, changing this has little effect, and will not be done for this feature.

Note that currently you can use this configuration only with rpm-4.7.0 or higher which is present in Fedora 11 or rawhide.

Note that currently you can use this configuration only with rpm-4.7.0 or higher which is present in Fedora 11 or rawhide.

+

+

Also note that deltarpms between builds with different payload compression formats, while functional, usually save little bandwidth.

== Release Notes ==

== Release Notes ==

Line 75:

Line 78:

* See [[Talk:Features/XZRpmPayloads]]

* See [[Talk:Features/XZRpmPayloads]]

−

[[Category:FeatureReadyForFesco]]

+

[[Category:FeatureAcceptedF12]]

<!-- When your feature page is completed and ready for review -->

<!-- When your feature page is completed and ready for review -->

<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->

<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->

RPM currently uses gzip payloads by default, with an option for bzip2. bzip2 adds greater compression, but with a large memory and cpu time
penalty. XZ allows better compression without these penalties.

The %_source_payload macro can be used to change the payload compression for source RPMs. However, since source RPMs consist almost entirely of precompressed source archives, changing this has little effect, and will not be done for this feature.

Note that currently you can use this configuration only with rpm-4.7.0 or higher which is present in Fedora 11 or rawhide.

Also note that deltarpms between builds with different payload compression formats, while functional, usually save little bandwidth.

RPM in Fedora 12 has switched to using XZ compression (http://tukaani.org/xz/) in its packages to allow for better compression and smaller downloads for users.
Users of older Fedora releases who wish to use RPMs built in Fedora 12 will need at least rpm-4.6.x from Fedora 10 or later.