From 5eb0dbb4e0d459478e18b5fc787bc2c077d1b0b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 5 Nov 2008 10:31:55 +0000 Subject: [PATCH 1/1] - exit 0 to avoid failure Changed files: rpm.macros -> 1.487 --- rpm.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} #----------------------------------------------------------------- -- 2.44.0