cc13fe
commit 635437c7bfe6053dcfe112705b809bb78aba1a73
cc13fe
Author: Panu Matilainen <pmatilai@redhat.com>
cc13fe
Date:   Mon Feb 15 13:42:36 2010 +0200
cc13fe
cc13fe
    Unbreak find-requires (#443015, #564527)
cc13fe
    - regression originating from commit 9ed9b4e3459e3125befd324f579f751a239c26ca
cc13fe
      which was supposed to fix something for on ARM but broke pretty much
cc13fe
      all else
cc13fe
    - this should've been in 9.1.0 but somehow gone missing, ugh...
cc13fe
    - fix originally from Bill Nottingham
cc13fe
cc13fe
diff --git a/find-requires b/find-requires
cc13fe
index fa5ab95..eb3ee54 100755
cc13fe
--- a/find-requires
cc13fe
+++ b/find-requires
cc13fe
@@ -106,6 +106,7 @@ for f in $liblist $exelist ; do
cc13fe
 		print $2 ;
cc13fe
 	    }
cc13fe
 	}
cc13fe
+	(START==2) && /^[A-Za-z]/ { START=3; }
cc13fe
 	/^Version References:$/ { START=2; }
cc13fe
 	(START==2) && /required from/ {
cc13fe
 	    sub(/:/, "", $3);
cc13fe
@@ -114,7 +115,6 @@ for f in $liblist $exelist ; do
cc13fe
 	(START==2) && (LIBNAME!="") && ($4!="") {
cc13fe
 	    print LIBNAME "(" $4 ")'$lib64'";
cc13fe
 	}
cc13fe
-	/^[A-Za-z]/ { START=3; }
cc13fe
     '
cc13fe
 done | sort -u
cc13fe