]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- decompress if needed before gzipping
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 23 Sep 2000 17:19:34 +0000 (17:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.29

rpm.macros

index 3f1926cf795c290d9e8abc65ba0331430219b618..deb640f624c46ab201239579892050302e20d9af 100644 (file)
@@ -111,7 +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" -type f -a \! -name \*.gz -print | xargs %{__gzip} -9nf; \
+               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; \
        fi; \
 done; \
 }
This page took 0.040023 seconds and 4 git commands to generate.