]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- added missing \
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 23 Sep 2000 16:53:01 +0000 (16:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't gzip already gzipped files

Changed files:
    rpm.macros -> 1.28

rpm.macros

index 58ace0bf4b72fe9e9b8e25c6499632e5c4d75234..3f1926cf795c290d9e8abc65ba0331430219b618 100644 (file)
@@ -72,7 +72,7 @@ else \
     ); \
   fi \
 done \
-  %{-C:${_mydir}}%{!-C:.}/%{configure}
+  %{-C:${_mydir}}%{!-C:.}/%{configure} \
   %{-C:cd ${_mydir}; unset _mydir}
 
 # Location of autoconf macros
@@ -111,7 +111,7 @@ 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 -print | xargs %{__gzip} -9nf; \
+               find "$RPM_BUILD_ROOT$i" -type f -a \! -name \*.gz -print | xargs %{__gzip} -9nf; \
        fi; \
 done; \
 }
This page took 0.042258 seconds and 4 git commands to generate.