3 if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
14 # Strip static libraries.
15 for f in `find "$RPM_BUILD_ROOT" -type f -a -exec file {} \; | \
16 grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug" | \
17 grep 'current ar archive' | \
18 sed -n -e 's/^\(.*\):[ ]*current ar archive/\1/p'`; do