diff options
author | Michal Domonkos <mdomonko@redhat.com> | 2022-10-24 17:39:04 +0200 |
---|---|---|
committer | Michal Domonkos <mdomonko@redhat.com> | 2023-03-13 15:32:25 +0100 |
commit | 54330df5d060c1b873c9fb8dfd54fa5f5a2524e6 (patch) | |
tree | b37be4ca0bba880d561322cd1f3491d1fbddf606 | |
parent | 523d3b3cae0f90446077b7108205e5caa7ea19f8 (diff) | |
download | rpm-54330df5d060c1b873c9fb8dfd54fa5f5a2524e6.tar.gz |
Add payload compression macro documentation
Just refer to the newly added mode string API docs.
(cherry picked from commit bf6a97da0b035ce1d341f01b6301407dcad5a5af)
-rw-r--r-- | docs/manual/format.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/manual/format.md b/docs/manual/format.md index 8b731c928..a5b0d6663 100644 --- a/docs/manual/format.md +++ b/docs/manual/format.md @@ -138,8 +138,14 @@ in the RPM sources. ## Payload -The Payload is currently a gzipped cpio archive. The cpio -archive type used is SVR4 with a CRC checksum. +The Payload is currently a cpio archive, gzipped by default. The cpio archive +type used is SVR4 with a CRC checksum. + +To use a different compression method when building new packages with +`rpmbuild(8)`, define the `%_binary_payload` or `%_source_payload` macros for +the binary or source packages, respectively. These macros accept an +[RPM IO mode string](https://ftp.osuosl.org/pub/rpm/api/4.17.0/group__rpmio.html#example-mode-strings) +(only `w` mode). ## The Header Structure |