]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- compress kernel modules for 2.6 too.
authorwitekfl <witekfl@pld-linux.org>
Tue, 18 Nov 2003 06:53:57 +0000 (06:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.131

rpm.macros

index db74fb0084ba332c35fb719ea0a43018e6bd6d30..7821311d544db3d7203d9757eee0c1cb53f885d6 100644 (file)
@@ -302,9 +302,9 @@ done; fi; } \
 echo "Compress kernel modules if any."; \
     %{?verbose:set -x;} \
     if test -d $RPM_BUILD_ROOT/lib/modules ; then \
-       find $RPM_BUILD_ROOT/lib/modules -name \*.o -type f -print | \
+       find $RPM_BUILD_ROOT/lib/modules -name \*o -type f -print | \
        xargs -r %{__gzip} -9nf; \
-          find $RPM_BUILD_ROOT/lib/modules -name \*.o -type l -printf "%p %l\n" | \
+          find $RPM_BUILD_ROOT/lib/modules -name \*o -type l -printf "%p %l\n" | \
           while read a b; do ln -sf $b.gz $a.gz; rm -f $a; done; \
     fi; \
 } }
This page took 0.09385 seconds and 4 git commands to generate.