From: Arkadiusz Miƛkiewicz Date: Wed, 5 Nov 2008 10:31:55 +0000 (+0000) Subject: - exit 0 to avoid failure X-Git-Tag: auto/th/rpm-build-macros-1_487-1~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=5eb0dbb4e0d459478e18b5fc787bc2c077d1b0b3;hp=761490408a6b9f3a6a876ec63ad4c5b831c4cdc8;p=packages%2Frpm-build-macros.git - exit 0 to avoid failure Changed files: rpm.macros -> 1.487 --- diff --git a/rpm.macros b/rpm.macros index 27aceb7..502705f 100644 --- a/rpm.macros +++ b/rpm.macros @@ -499,7 +499,7 @@ fi; }; __spec_install_post_chrpath } } } 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 "Unresolved symbols found in: " file symbols; exit(1); } } ' || fail=1 ; \ done ; \ echo " DONE"; \ - %{!?no_install_post_check_so:[ $fail -eq 1 ] && exit 1;} \ + %{!?no_install_post_check_so:[ $fail -eq 1 ] && exit 1 || exit 0;} \ }; __spec_install_post_check_so }} #-----------------------------------------------------------------