teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.4.2.3-fix-find-requires.patch

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