From 9fdbeaf6206f5f84393187aee3750f70aeb05c78 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 9 Nov 2022 13:45:55 +0800 Subject: [PATCH] Compress man-pages and info-pages as zstd to save disk space for users. --- macros | 2 +- system-rpm-config.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros b/macros index 8af530e..5d64699 100644 --- a/macros +++ b/macros @@ -238,7 +238,7 @@ print(result) # Build root policy macros. Standard naming: # convert all '-' in basename to '_', add two leading underscores. %__brp_ldconfig /usr/lib/rpm/anolis/brp-ldconfig -%__brp_compress /usr/lib/rpm/brp-compress +%__brp_compress COMPRESS="zstd -f --rm -19 -T0" COMPRESS_EXT=.zst /usr/lib/rpm/brp-compress %__brp_strip /usr/lib/rpm/brp-strip %{__strip} %__brp_strip_lto /usr/lib/rpm/anolis/brp-strip-lto %{__strip} %__brp_strip_comment_note /usr/lib/rpm/brp-strip-comment-note %{__strip} %{__objdump} diff --git a/system-rpm-config.spec b/system-rpm-config.spec index 4e98aaf..da18083 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 13 +%define anolis_release 14 Summary: Anolis OS specific rpm configuration files Name: system-rpm-config @@ -180,6 +180,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/anolis/srpm forge.lua %license MulanPSL %changelog +* Wed Nov 9 2022 Funda Wang - 23.14 +- Compress man-pages and info-pages as zstd to save disk space for users. + * Thu Oct 27 2022 Chunmei Xu - 23.13 - generate-compatibility-deps: process BUILDROOT in api files -- Gitee