File reproducible2.patch of Package brp-check-suse
Index: brp-check-suse-84.87+git20200510.8ff16cf/brp-25-symlink
===================================================================
--- brp-check-suse-84.87+git20200510.8ff16cf.orig/brp-25-symlink
+++ brp-check-suse-84.87+git20200510.8ff16cf/brp-25-symlink
@@ -28,7 +28,7 @@ cd $RPM_BUILD_ROOT
had_errors=0
-find . -type l -printf '%P|%l\n' | brp-symlink.prg | while IFS="|" read link link_orig link_dest link_absolut
+find . -type l -printf '%P|%l\n' | sort | brp-symlink.prg | while IFS="|" read link link_orig link_dest link_absolut
do
if test "$link" = "$link_dest"; then
echo "ERROR: $link points to itself (as $orig_link_dest)"