]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- __spec_install_post_compress_docs: don't (un)compress non-existing files
authormis <mis@pld-linux.org>
Mon, 25 Sep 2000 08:21:48 +0000 (08:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.30

rpm.macros

index deb640f624c46ab201239579892050302e20d9af..08f603e262d6c85df1b0e45a5f657b89422b4894 100644 (file)
@@ -111,9 +111,9 @@ echo "Compress man and info pages."; \
 %{?verbose:set -x;} \
 for i in /usr/share/man /usr/X11R6/man /usr/share/info; do \
        if [ -d "$RPM_BUILD_ROOT$i" ]; then \
-               find "$RPM_BUILD_ROOT$i" -name \*.bz2 -print | xargs %{__bzip2} -df; \
-               find "$RPM_BUILD_ROOT$i" -name \*.gz -print | xargs %{__gzip} -dnf; \
-               find "$RPM_BUILD_ROOT$i" -type f -print | xargs %{__gzip} -9nf; \
+               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 -print | xargs -r %{__gzip} -9nf; \
        fi; \
 done; \
 }
This page took 0.141669 seconds and 4 git commands to generate.