From: Jakub Bogusz Date: Wed, 23 Oct 2002 22:43:13 +0000 (+0000) Subject: - added missing translation to pl.po patch X-Git-Tag: rpm-4_1-2~3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=fc1ea39792d5d3ec74c594ac6c860be69ded9fce;p=packages%2Frpm-pld-macros.git - added missing translation to pl.po patch - 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 --- diff --git a/rpm.macros b/rpm.macros index d7bbde6..83f5ffd 100644 --- a/rpm.macros +++ b/rpm.macros @@ -210,12 +210,14 @@ echo "Compress man and info pages."; \ # #%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; \ } }