Latest xemacs build gave:- Finding Requires: (using /usr/lib/rpm/find-requires)... objdump: /var/tmp/xemacs-root/usr/lib/xemacs/xemacs-packages/lisp/sh-script/executable.el: File format not recognized This is due to in find_requires:- exelist=`echo $filelist | xargs -r file | fgrep executable | cut -d: -f1 ` which misidentifies the .el file as executable because its name contains "executable". if the grep is changed as per the script list one, so its:- exelist=`echo $filelist | xargs -r file | egrep ":.* executable" | cut -d: -f1 ` then that cuts out all the false positives - I can see no false negatives that this will add.
Thanks for the patch. A change similar to this has already been checked in and should be in (at least) rpm-3.0.4-0.44.