redhat-rpm-config/redhat-rpm-config-9.0.3-fix-requires.patch

19 lines
457 B
Diff
Raw Normal View History

2008-08-11 07:26:42 +00:00
--- find-requires.orig 2008-08-11 09:41:48.000000000 +0300
+++ find-requires 2008-08-11 09:42:25.000000000 +0300
@@ -106,6 +106,7 @@
print $2 ;
}
}
+ (START==2) && /^[A-Za-z]/ { START=3; }
/^Version References:$/ { START=2; }
(START==2) && /required from/ {
sub(/:/, "", $3);
@@ -114,7 +115,6 @@
(START==2) && (LIBNAME!="") && ($4!="") {
print LIBNAME "(" $4 ")'$lib64'";
}
- /^[A-Za-z]/ { START=3; }
'
done | sort -u