find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" | xargs -r file | \
awk '/ELF.*(executable|shared object)/ {print $1}' | cut -d: -f1 | \
while read file ; do \
find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" | xargs -r file | \
awk '/ELF.*(executable|shared object)/ {print $1}' | cut -d: -f1 | \
while read file ; do \