--- /home/george/hasher/chroot/usr/lib/rpm/find-requires 2006-11-30 20:02:21 +0300 +++ find-requires 2006-12-25 14:28:00 +0300 @@ -235,7 +235,7 @@ [ -z "$LIST_PERL" ] && LIST_PERL="$f" || LIST_PERL="$LIST_PERL $f" fi - elif [ -z "${f%%*.py}" ]; then + elif [ -z "${t##*python* script text*}" -o -z "${f%%*.py}" ]; then if [ -n "$FIND_PYTHON" ]; then [ -z "$LIST_PYTHON" ] && LIST_PYTHON="$f" || LIST_PYTHON="$LIST_PYTHON $f"