]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- added missing translation to pl.po patch
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 23 Oct 2002 22:43:13 +0000 (22:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

rpm.macros

index d7bbde613478a75086275c3b9a04fbaece7615c3..83f5ffd5c6100774a5f38c47b4f60da161bd9907 100644 (file)
@@ -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; \
 } }
 
This page took 0.087179 seconds and 4 git commands to generate.