aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2019-12-23 15:59:26 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2019-12-23 16:21:35 +0100
commit12870f8bce61bc13c843d014023b0c88efdba994 (patch)
tree23c44e3f904797f5b9b09da79589ddd2a8bf76a0
parent747658f85331c90df8bafc55f7cdb6d3bd3519eb (diff)
downloadrpm-setup-12870f8bce61bc13c843d014023b0c88efdba994.tar
rpm-setup-12870f8bce61bc13c843d014023b0c88efdba994.tar.gz
rpm-setup-12870f8bce61bc13c843d014023b0c88efdba994.tar.bz2
rpm-setup-12870f8bce61bc13c843d014023b0c88efdba994.tar.xz
rpm-setup-12870f8bce61bc13c843d014023b0c88efdba994.zip
Switch binary payload compression to Zstandard level 19
for faster installations, as discussed with tmb See https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression
-rw-r--r--NEWS3
-rw-r--r--build.macros.in4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 642e386..eb85e30 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- switch binary payload compression to Zstandard level 19
+ for faster installations
+ See https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression
- sync brp-mangle-shebangs with FC:
o do not stat / touch files needlessly
o fix unsafe/incorrect command expansion
diff --git a/build.macros.in b/build.macros.in
index 02d0dd8..e9edd4a 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -507,8 +507,8 @@ fi
%_source_filedigest_algorithm 8
%_binary_filedigest_algorithm 8
-# Use XZ compression for binary payloads
-%_binary_payload w5.xzdio
+# Use Zstandard compression for binary payloads
+%_binary_payload w19.zstdio
# Automatically trim changelog entries after 2 years
%_changelog_trimtime %{lua:print(os.time() - 2 * 365 * 86400)}