- added pl translation of added messages to rpmpopt patch
- merged modules compression fix (by juandon) from abandoned branch
- release 1.1
Changed files:
rpm.macros -> 1.87
#
#%no_install_post_compress_modules 1
%__spec_install_post_compress_modules { \
-echo "Compress kernel modules if any."; \
%{!?no_install_post_compress_modules: \
+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 -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" | \
+ while read a b; do ln -sf $b.gz $a.gz; rm -f $a; done \
fi; \
} }