verify-elf: Add /lib/../lib64 to the list of prohibited RPATH elements

This commit is contained in:
Дмитрий Левин 2011-09-07 21:44:34 +00:00
parent f74cea6470
commit caad5da212

View File

@ -99,7 +99,7 @@ VerifyELF()
Info "$prefix: $f: RPATH entry contains \":\": $rpath" Info "$prefix: $f: RPATH entry contains \":\": $rpath"
fi fi
for p in $RPM_BUILD_ROOT $RPM_BUILD_DIR $RPM_SOURCE_DIR; do for p in $RPM_BUILD_ROOT $RPM_BUILD_DIR $RPM_SOURCE_DIR /lib/../lib64; do
if printf %s "$rpath" |fgrep -qs "$p"; then if printf %s "$rpath" |fgrep -qs "$p"; then
Info "ERROR: $f: RPATH entry contains \"$p\": $rpath" Info "ERROR: $f: RPATH entry contains \"$p\": $rpath"
rc=1 rc=1