diff --git a/macros b/macros index e55f72583772708628238aac92d32099ecd264ab..31429a0b3e42abd2ef840e87c7ebce47a55ec6eb 100644 --- a/macros +++ b/macros @@ -235,10 +235,13 @@ print(result) %__arch_install_post /usr/lib/rpm/check-buildroot +# Default extension to use (for man pages and info files) +%_extension .zst + # 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 COMPRESS="zstd -f --rm -19 -T0" COMPRESS_EXT=.zst /usr/lib/rpm/brp-compress +%__brp_compress COMPRESS="zstd -f --rm -19 -T0" COMPRESS_EXT=%{_extension} /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 0808cbba71f728871bec3a285b7d1493fa597c0d..a590bcbb125753849703e460aeef6ad3bd14a406 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 17 +%define anolis_release 18 Summary: Anolis OS specific rpm configuration files Name: system-rpm-config @@ -190,6 +190,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/anolis/srpm forge.lua %license MulanPSL %changelog +* Sun Jan 15 2023 Funda Wang - 1:23-18 +- Add man pages compression extension macro + * Thu Dec 22 2022 Funda Wang - 1:23-17 - Bump epoch for upgrading from anolis 8