rpm/rpm-4.4.9-fix_glibc_autoreq.patch

13 lines
461 B
Diff

diff -Nru rpm-4.4.9.orig//autodeps/linux.req rpm-4.4.9/autodeps/linux.req
--- rpm-4.4.9.orig//autodeps/linux.req 2010-03-24 21:31:02.094926887 +0100
+++ rpm-4.4.9/autodeps/linux.req 2010-03-24 21:31:53.858177160 +0100
@@ -113,7 +113,7 @@
sub(/:/, "", $3);
LIBNAME=$3;
}
- (START==2) && (LIBNAME!="") && ($4!="") {
+ (START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) || ($4~/^GCC_*/)) {
print LIBNAME "(" $4 ")'$lib64'";
}
'