Changed files:
rpm.macros -> 1.131
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; \
} }