[Rpm-maint] [PATCH] fix broken linux.req

Bill Nottingham notting at redhat.com
Fri Apr 18 16:16:04 UTC 2008


Otherwise it exits the loop way way way too early, and nothing
has any reqiurements.

Bill
-------------- next part --------------
diff --git a/autodeps/linux.req b/autodeps/linux.req
index c0a0cc9..70f627d 100644
--- a/autodeps/linux.req
+++ b/autodeps/linux.req
@@ -105,6 +104,7 @@ for f in $liblist $exelist ; do
 		print $2 ;
 	    }
 	}
+	(START==2) && /^[A-Za-z]/ { START=3; }
 	/^Version References:$/ { START=2; }
 	(START==2) && /required from/ {
 	    sub(/:/, "", $3);
@@ -113,7 +113,6 @@ for f in $liblist $exelist ; do
 	(START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) || ($4~/^GCC_*/)) {
 	    print LIBNAME "(" $4 ")'$lib64'";
 	}
-	/^[A-Za-z]/ { START=3; }
     '
 done | sort -u
 


More information about the Rpm-maint mailing list