]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- so_check look only for *.so.*
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 5 Nov 2008 13:07:24 +0000 (13:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.489

rpm.macros

index d47e5f478ab8b23a5bc76c5114eae3429f0faaf4..79c1a676ecc36bf24d7f61b6603659550d0ad00a 100644 (file)
@@ -495,7 +495,7 @@ fi; }; __spec_install_post_chrpath } } }
  __spec_install_post_check_so() { \
     fail=0; \
     printf "Searching for shared objects with unresolved symbols..."; \
-    for f in $(find $RPM_BUILD_ROOT -type f -name '*.so*' -print); do \
+    for f in $(find $RPM_BUILD_ROOT -type f -name '*.so.*' -print); do \
         LC_ALL=C objdump -T $f 2> /dev/null | LC_ALL=C awk -v "file=$f" 'BEGIN { found=0; symbols = "" } /^[0-9a-z]+ +D +\*UND\*/ { found = 1; symbols = symbols "\n\t" $NF } END { if (found) { print "\nUnresolved symbols found in: " file symbols; exit(1); } } ' || fail=1 ; \
     done ; \
     echo " DONE"; \
This page took 0.068542 seconds and 4 git commands to generate.