File brp-25-symlink-print-all-errors.patch of Package brp-check-suse.19625

--- brp-check-suse-84.87+git20181106.224b37d/brp-25-symlink	2021/05/14 09:04:16	1.1
+++ brp-check-suse-84.87+git20181106.224b37d/brp-25-symlink	2021/05/14 09:07:02
@@ -118,19 +118,22 @@
        case $link_dest in
 	/..*) # this is very mean
 	    echo "ERROR: $link points to illegal $link_dest"
-	    exit 1
+	    had_errors=1
+	    continue
 	    ;;
 	esac
 	counter=$((counter + 1))
 	if test $counter -gt 10; then
 	    echo "ERROR: more than 10 back references in $link?"
-	    exit 1
+	    had_errors=1
+	    continue
 	fi
     done
 
     if test "$link" = "$link_dest"; then
-      echo "ERROR: $link points to itself (as $orig_link_dest)"
-      exit 1
+	echo "ERROR: $link points to itself (as $orig_link_dest)"
+	had_errors=1
+	continue
     fi
 
     # black list
@@ -151,7 +154,8 @@
 	     echo "ERROR: link target $link points into automake directory"
 	     echo " You might want to add a -c to the automake call (or just"
 	     echo " skip the files from packaging)"
-	     exit 1
+	     had_errors=1
+	     continue
 	     ;;
 	*,/opt/kde3/share/doc*/HTML/*/common) # white listed for not existant
 	     ;;
openSUSE Build Service is sponsored by