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 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=2a00473e775d33024c6908f04e862525f6da825d;p=packages%2Frpm.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 }} #-----------------------------------------------------------------