]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- output compress man and info pages only if doing so
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 22 Dec 2006 22:08:31 +0000 (22:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.354

rpm.macros

index db98c24e2f32a1b344e6b34a6aa3aa31e4fc3076..3af13ea5e3cb4bc7c0d6be3a39deb041079b6d97 100644 (file)
@@ -331,9 +331,9 @@ unset DISPLAY ||:\
 #%no_install_post_compress_docs        1
 %__spec_install_post_compress_docs { \
 %{!?no_install_post_compress_docs:__spec_install_post_compress_docs() { \
-       echo "Compress man and info pages."; \
        for i in /usr/share/man /usr/X11R6/man /usr/share/info; do \
                if [ -d "$RPM_BUILD_ROOT$i" ]; then \
+                       echo "Compress $(basename $i) pages: $i"; \
                        find "$RPM_BUILD_ROOT$i" -name '*.bz2' -print | xargs -r %{__bzip2} -df; \
                        find "$RPM_BUILD_ROOT$i" -name '*.gz' -print | xargs -r %{__gzip} -dnf; \
                        find "$RPM_BUILD_ROOT$i" -type f -size +%{_min_compress_bytes}c -print | xargs -r %{__gzip} -9nf; \
This page took 0.0378 seconds and 4 git commands to generate.