rpm-build/scripts/debuginfo.prov.files

14 lines
285 B
Plaintext
Raw Normal View History

#!/bin/sh -efu
while IFS=$'\t' read -r f t; do
case "$f" in
${RPM_BUILD_ROOT-}/usr/lib/debug/*.debug) ;;
*) continue ;;
esac
case " $t" in
*' ELF '*' shared object, no machine, '*) continue ;;
*' ELF '*' shared object, '*) ;;
*) continue ;;
esac
printf '%s\n' "$f"
done